课程代码
This commit is contained in:
24
nodejs/nodeExperiment5/public/update.ejs
Normal file
24
nodejs/nodeExperiment5/public/update.ejs
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>修改</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- 修改密码 -->
|
||||
<form action="/update-password" method="post">
|
||||
<label for="username">用户名:</label>
|
||||
<input type="text" name="username" id="username" required>
|
||||
<label for="currentPassword">旧密码:</label>
|
||||
<input type="password" name="currentPassword" id="currentPassword" required>
|
||||
<label for="newPassword">新密码:</label>
|
||||
<input type="password" name="newPassword" id="newPassword" required>
|
||||
<button type="submit">修改</button>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user