mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: fix changeEmail (#103)
This commit is contained in:
1 parent
4710476678
commit
c977a51de9
1 file changed
+1
-1
@@ -150,7 +150,7 @@ class HomeSecurityHandler extends Handler {
|
|||||||
this.response.redirect = this.url('user_login');
|
this.response.redirect = this.url('user_login');
|
||||||
}
|
}
|
||||||
|
|
||||||
@param('currentPassword', Types.String)
|
@param('password', Types.String)
|
||||||
@param('mail', Types.Name, isEmail)
|
@param('mail', Types.Name, isEmail)
|
||||||
async postChangeMail(domainId: string, current: string, email: string) {
|
async postChangeMail(domainId: string, current: string, email: string) {
|
||||||
await this.limitRate('send_mail', 3600, 30);
|
await this.limitRate('send_mail', 3600, 30);
|
||||||
|
|||||||
Reference in new issue
Block a user