对确认密码部分保证有数据读入

丁锐 2022-11-29 16:53:59 +08:00
parent 671df67723
commit 3609421976
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ h1{
<form action="/signup" method="POST"> <form action="/signup" method="POST">
<p><input type="username" name="username" placeholder="输入用户名" required="required" class="username"></p> <p><input type="username" name="username" placeholder="输入用户名" required="required" class="username"></p>
<p><input type="password" name="password" placeholder="输入密码" class="password"></p> <p><input type="password" name="password" placeholder="输入密码" class="password"></p>
<p><input type="password" name="password2" placeholder="确认密码" class="password"></p> <p><input type="password" name="password2" placeholder="确认密码" class="password" required="required"></p>
<button type="submit" class="btn">注册</button> <button type="submit" class="btn">注册</button>
</form> </form>