ui: friendly user-lostpass

This commit is contained in:
undefined committed 2021-07-26 12:25:51 +08:00
1 parent 39b90b3ff5
commit a8074d0872
10 files changed
+47 -31

No files matched your search

-1
View File
@@ -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';
}