mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: friendly user-lostpass
This commit is contained in:
1 parent
39b90b3ff5
commit
a8074d0872
10 files changed
+47
-31
No files matched your search
@@ -614,6 +614,7 @@ Rejudge records: 重测记录
|
||||
Rejudge: 重测
|
||||
Related Discussions: 相关讨论
|
||||
Related: 相关
|
||||
Relax and try to remember your password.: 放松,尝试回忆您设置的密码。
|
||||
Remember me: 记住我
|
||||
Remove Selected User: 将所选用户移出
|
||||
Remove this data: 移除这组数据
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.29.42",
|
||||
"version": "2.29.43",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "dist/loader.js",
|
||||
"typings": "dist/loader.d.ts",
|
||||
|
||||
@@ -140,7 +140,6 @@ class UserRegisterWithCodeHandler extends Handler {
|
||||
|
||||
class UserLostPassHandler extends Handler {
|
||||
async get() {
|
||||
if (!system.get('smtp.user')) throw new SystemError('Cannot send mail');
|
||||
this.response.template = 'user_lostpass.html';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user