fix: verified email for login.php (#265)

* fix: required email login verify

* fix: add missing select column

* Revert "fix: add missing select column"

This reverts commit db79e3118a.
This commit is contained in:
Gabriel Pedro
2024-08-25 07:40:32 -04:00
committed by GitHub
parent 6183b7ee52
commit bc8ada6fe2

View File

@@ -155,6 +155,10 @@ switch ($action) {
}
}
if (setting('core.account_mail_verify') && $account->email_verified !== 1) {
sendError('You need to verify your account, enter in our site and resend verify e-mail!');
}
// common columns
$columns = 'id, name, level, sex, vocation, looktype, lookhead, lookbody, looklegs, lookfeet, lookaddons';