Reviewed some settings again, fixing many glitches

This commit is contained in:
slawkens
2023-08-24 17:20:32 +02:00
parent 3ef53aff6c
commit 0746708743
56 changed files with 181 additions and 170 deletions

View File

@@ -46,7 +46,7 @@ else if(isset($_GET['email']))
if(!Validator::email($email))
error_(Validator::getLastError());
if($config['account_mail_unique'])
if(setting('core.account_mail_unique'))
{
if(Account::where('email', '=', $email)->exists())
error_('Account with this e-mail already exist.');