mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
Reviewed some settings again, fixing many glitches
This commit is contained in:
@@ -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.');
|
||||
|
Reference in New Issue
Block a user