From 06f7a49a61240cf48a28beeeff55cc9d1e6051e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 11 Mar 2019 13:33:57 +0100 Subject: [PATCH] Refactoring / fixing password hint PR #15868 --- conf/defaults.ini | 2 +- conf/sample.ini | 1 + docs/sources/installation/configuration.md | 14 +++++++++++--- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/conf/defaults.ini b/conf/defaults.ini index 33fe17a2aa6..044d8e59a7a 100644 --- a/conf/defaults.ini +++ b/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 diff --git a/conf/sample.ini b/conf/sample.ini index 57ff82181de..dc1e4fbde8e 100644 --- a/conf/sample.ini +++ b/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 diff --git a/docs/sources/installation/configuration.md b/docs/sources/installation/configuration.md index f0418ad31a6..3d1b25979c3 100644 --- a/docs/sources/installation/configuration.md +++ b/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. +
## [auth]