Bug489-DingRui #74

Merged
mrlan merged 4 commits from SPM2022F-CONTRIBUTORS-DingRui into master 2023-01-29 11:31:41 +08:00
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

@ -125,8 +125,8 @@ 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="输入密码" 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>

@dingrui

Thanks

可以的。

129行 "password"后面, > 前面的空格可以删除吗?

@dingrui Thanks 可以的。 129行 "password"后面, `>` 前面的空格可以删除吗?
<button type="submit" class="btn">注册</button> <button type="submit" class="btn">注册</button>
</form> </form>