templates/signup.html: user name must not be empty. Bug reported and fixed by 丁宇超. For more details, see http://118.25.96.118/bugzilla/show_bug.cgi?id=347 and http://118.25.96.118/kanboard/?controller=BoardViewController&action=show&project_id=183 #21

Merged
mrlan merged 1 commits from BugFix347 into master 2022-01-27 13:04:26 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ You're logged in already! <a href="/logout">Logout</a>.
<p>Sign up here.</p> <p>Sign up here.</p>
<form action="/signup" method="POST"> <form action="/signup" method="POST">
<p><input type="username" name="username" placeholder="邮箱地址、电话号码"></p> <p><input type="username" name="username" placeholder="邮箱地址、电话号码" required="required"></p>
<p><input type="password" name="password" placeholder="密码"></p> <p><input type="password" name="password" placeholder="密码"></p>
<p><input type="submit" value="注册"></p> <p><input type="submit" value="注册"></p>
</form> </form>