Parcourir la source

Refactoring / fixing password hint PR #15868

Torkel Ödegaard il y a 6 ans
Parent
commit
06f7a49a61
3 fichiers modifiés avec 13 ajouts et 4 suppressions
  1. 1 1
      conf/defaults.ini
  2. 1 0
      conf/sample.ini
  3. 11 3
      docs/sources/installation/configuration.md

+ 1 - 1
conf/defaults.ini

@@ -231,7 +231,7 @@ verify_email_enabled = false
 
 # Background text for the user field on the login page
 login_hint = email or username
-passowrd_hint = password
+password_hint = password
 
 # Default UI theme ("dark" or "light")
 default_theme = dark

+ 1 - 0
conf/sample.ini

@@ -211,6 +211,7 @@ log_queries =
 
 # Background text for the user field on the login page
 ;login_hint = email or username
+;password_hint = password
 
 # Default UI theme ("dark" or "light")
 ;default_theme = dark

+ 11 - 3
docs/sources/installation/configuration.md

@@ -162,9 +162,9 @@ executed with working directory set to the installation path.
 
 ### enable_gzip
 
-Set this option to `true` to enable HTTP compression, this can improve 
-transfer speed and bandwidth utilization. It is recommended that most 
-users set it to `true`. By default it is set to `false` for compatibility 
+Set this option to `true` to enable HTTP compression, this can improve
+transfer speed and bandwidth utilization. It is recommended that most
+users set it to `true`. By default it is set to `false` for compatibility
 reasons.
 
 ### cert_file
@@ -342,6 +342,14 @@ options are `Admin` and `Editor`. e.g. :
 Viewers can edit/inspect dashboard settings in the browser. But not save the dashboard.
 Defaults to `false`.
 
+### login_hint
+
+Text used as placeholder text on login page for login/username input.
+
+### password_hint
+
+Text used as placeholder text on login page for password input.
+
 <hr>
 
 ## [auth]