diff --git a/system/pages/account/create.php b/system/pages/account/create.php
index 3ce638d1..49302502 100644
--- a/system/pages/account/create.php
+++ b/system/pages/account/create.php
@@ -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();
diff --git a/system/templates/account.management.html.twig b/system/templates/account.management.html.twig
index b8e9aae0..80d60006 100644
--- a/system/templates/account.management.html.twig
+++ b/system/templates/account.management.html.twig
@@ -89,10 +89,12 @@
+ {% if not config.account_login_by_email or config.account_login_by_email_fallback %}
Account {% if constant('USE_ACCOUNT_NAME') %}Name{% else %}Number{% endif %}: |
{{ account }} |
+ {% endif %}
Email Address: |
{{ account_email ~ email_change}} |
@@ -516,4 +518,4 @@
-
\ No newline at end of file
+