mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-06 18:56:23 +01:00
Move rest of config to settings
Remove config.php completely Add new settings category: Game Fix account_login_by_email Min textarea size = 2 + adjusted automatically
This commit is contained in:
@@ -117,7 +117,7 @@ class Validator
|
||||
return false;
|
||||
}
|
||||
|
||||
if(config('account_mail_block_plus_sign')) {
|
||||
if(setting('core.account_mail_block_plus_sign')) {
|
||||
$explode = explode('@', $email);
|
||||
if(isset($explode[0]) && (strpos($explode[0],'+') !== false)) {
|
||||
self::$lastError = 'Please do not use plus (+) sign in your e-mail.';
|
||||
|
||||
Reference in New Issue
Block a user