减少密码哈希迭代次数防止把手机卡烂

原来的登录和注册界面改为密码登录和邮箱登录
邮箱登录界面不再分状态,设置密码独立出一个界面
自动登录不再检测本地用过密码登录,第一次邮箱登录不设置密码但存了token也可以
整理代码
This commit is contained in:
MrZ_26
2022-10-23 04:36:19 +08:00
parent f9bbb8fce6
commit d12f8a27e7
23 changed files with 313 additions and 220 deletions

View File

@@ -166,6 +166,7 @@ return{
league="TL",
ffa="FFA",
rooms="< >",
resetPW="R ***",
logout="@_@x",
},
net_league={
@@ -483,21 +484,26 @@ return{
music="~~~",
label="...",
},
login={
login_pw={
title="Log in",
register="Sign up",
-- login_mail="Login with E-mail/Sign Up",
email="@",
password="*",
showEmail="?",
login="Log in",
login="",
},
register={
title="Sign up",
login="Log in",
login_mail={
title="Log in/Sign up",
login_pw="*** →",
email="@",
send="",
code="",
verify="!",
},
reset_password={
title="R ***",
send="",
code="",
password="*",
password2="*",
setPW="##",