core: fix changeEmail (#103)

This commit is contained in:
undefined committed 2021-04-20 21:46:43 +08:00
1 parent 4710476678
commit c977a51de9
1 file changed
+1 -1
+1 -1
View File
@@ -150,7 +150,7 @@ class HomeSecurityHandler extends Handler {
this.response.redirect = this.url('user_login');
}
@param('currentPassword', Types.String)
@param('password', Types.String)
@param('mail', Types.Name, isEmail)
async postChangeMail(domainId: string, current: string, email: string) {
await this.limitRate('send_mail', 3600, 30);