diff --git a/frappe/www/login.html b/frappe/www/login.html
index 88650dfa99..8cfbfea25b 100644
--- a/frappe/www/login.html
+++ b/frappe/www/login.html
@@ -16,17 +16,7 @@
diff --git a/frappe/www/login.py b/frappe/www/login.py
index 5002a44b35..99c80b92a5 100644
--- a/frappe/www/login.py
+++ b/frappe/www/login.py
@@ -31,6 +31,16 @@ def get_context(context):
ldap_settings = get_ldap_settings()
context["ldap_settings"] = ldap_settings
+ login_name_placeholder = "Email address"
+
+ if frappe.utils.cint(frappe.db.get_value("System Settings", "System Settings", "allow_login_using_mobile_number")):
+ login_name_placeholder += " or Mobile number"
+
+ if frappe.utils.cint(frappe.db.get_value("System Settings", "System Settings", "allow_login_using_user_name")):
+ login_name_placeholder += " or Username"
+
+ context['login_name_placeholder'] = login_name_placeholder
+
return context
@frappe.whitelist(allow_guest=True)