Merge pull request 'Bug489-DingRui' (#74) from SPM2022F-CONTRIBUTORS-DingRui into master

Reviewed-on: http://121.4.94.30:3000/mrlan/EnglishPal/pulls/74
mrlan 2023-01-29 11:31:41 +08:00
commit c52d53596f
3 changed files with 12 additions and 2 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -181,4 +181,14 @@ Demo video link: https://b23.tv/QuB77m
Bug report: http://118.25.96.118/bugzilla/show_bug.cgi?id=215 Bug report: http://118.25.96.118/bugzilla/show_bug.cgi?id=215
### 丁锐
修复了以下漏洞
漏洞:新用户在创建账号时,不需要输入确定密码也可以注册成功,并且新账户可以正常使用。
Bug report:http://118.25.96.118/bugzilla/show_bug.cgi?id=489
*Last modified on 2021-10-17* *Last modified on 2021-10-17*

View File

@ -17,8 +17,8 @@ You're logged in already! <a href="/logout">Logout</a>.
<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="输入密码" required="required" class="password"></p>
<p><input type="password" name="password2" placeholder="确认密码" class="password"></p> <p><input type="password" name="password2" placeholder="确认密码" required="required" class="password" ></p>
<button type="submit" class="btn">注册</button> <button type="submit" class="btn">注册</button>
</form> </form>