mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-04 07:34:55 +01:00
lint
This commit is contained in:
parent
98734af9a7
commit
6e4894c165
1 changed files with 1 additions and 2 deletions
|
@ -166,11 +166,10 @@ export class EmailService {
|
||||||
email: emailAddress,
|
email: emailAddress,
|
||||||
});
|
});
|
||||||
|
|
||||||
const verifymailApi = meta.enableVerifymailApi && meta.verifymailAuthKey != null;
|
|
||||||
let validated;
|
let validated;
|
||||||
|
|
||||||
if (meta.enableActiveEmailValidation) {
|
if (meta.enableActiveEmailValidation) {
|
||||||
if (verifymailApi) {
|
if (meta.enableVerifymailApi && meta.verifymailAuthKey != null) {
|
||||||
validated = await this.verifyMail(emailAddress, meta.verifymailAuthKey);
|
validated = await this.verifyMail(emailAddress, meta.verifymailAuthKey);
|
||||||
} else {
|
} else {
|
||||||
validated = await validateEmail({
|
validated = await validateEmail({
|
||||||
|
|
Loading…
Reference in a new issue