mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
core: fix user_lostpass_with_code
This commit is contained in:
1 parent
99ddb9c92e
commit
6542e63e5b
2 files changed
+2
-1
No files matched your search
@@ -164,6 +164,7 @@ class UserLostPassWithCodeHandler extends Handler {
|
||||
if (!tdoc) throw new InvalidTokenError(token.TYPE_LOSTPASS, code);
|
||||
const udoc = await user.getById(domainId, tdoc.uid);
|
||||
this.response.body = { uname: udoc.uname };
|
||||
this.response.template = 'user_lostpass_with_code.html';
|
||||
}
|
||||
|
||||
@param('code', Types.String)
|
||||
|
||||
Reference in new issue
Block a user