Commit 3f3f8856 authored by Kolipakarohith's avatar Kolipakarohith
Browse files

Add new file

parent 0a91ef49
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<body>
<style>
form {border: 100px solid #f1f1f1;}
input[type=text], input[type=password] {
width: 25%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid gray;
box-sizing: border-box;
}
button {
background-color:#4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 10%;
}
.cancelbtn {
background-color: #f44336;
}
button:hover {
opacity: 0.8;
}
div
{
padding:70px 75px 80px;
background-image: url('https://images.unsplash.com/photo-1469122312224-c5846569feb1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1452&q=80');
background-size: cover;
height: 100%;
}
</style>
<center>
<div>
<img src="https://1.bp.blogspot.com/-l8IAJUh3F-c/XP1Av6Jv0CI/AAAAAAAAXVI/DZMZyC_aR0EC0hqf9A2mgcHP2tQb4MkZQCLcBGAs/s320/farmer.png.png" width="150" height="150">
<br>
<h2>CHANGE PASSWORD</h2><br>
<label for="newPassword"><b>New Password:</label><br>
<input type="password" id="newPassword" name="newPassword" title="New password" /><br>
<label for="confirmPassword"><b>Confirm Password:</label><br>
<input type="password" id="confirmPassword" name="confirmPassword" title="Confirm new password" /><br>
<button type="submit">SUBMIT</button>&nbsp; <button type="button" class="cancelbtn">CANCEL</button><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
&copy;KISAN MARKET</div>
</center>
</body>
</html>
@{
newPassword = Request["newPassword"];
confirmPassword = Request["confirmPassword"];
token = Request["token"];
if IsPost
{
// input testing is ommitted here to save space
retunValue = ResetPassword(token, newPassword);
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment