XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix(webui): use text type for email input (#2910)

We don't need the browser to validate the input because the game accepts emails with nothing before the @ which the browser may not. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2910 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

bac23a84
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified static/webui/index.html +1 -1
@@ -83,7 +83,7 @@
83 83 <p data-loc="login_description"></p>
84 84 <form onsubmit="doLogin();return false;">
85 85 <label for="email" data-loc="login_emailLabel"></label>
86 <input class="form-control" type="email" id="email" required />
86 <input class="form-control" type="text" id="email" required />
87 87 <br />
88 88 <label for="password" data-loc="login_passwordLabel"></label>
89 89 <input class="form-control" type="password" id="password" required />