small fixes to account_login_by_email

This commit is contained in:
slawkens
2023-03-25 19:17:55 +01:00
parent 23393b5d3e
commit 7a3dcc4dc6
3 changed files with 13 additions and 4 deletions

View File

@@ -26,8 +26,13 @@ if(config('account_create_character_create')) {
}
$account_type = 'number';
if(USE_ACCOUNT_NAME) {
$account_type = 'name';
if (config('account_login_by_email')) {
$account_type = 'Email Address';
}
else {
if(USE_ACCOUNT_NAME) {
$account_type = 'name';
}
}
$errors = array();