From d3191b27349f01fddc9ee452a02992e9bb30a3dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20OUDOT?= Date: Fri, 18 Aug 2023 18:17:36 +0200 Subject: [PATCH] Documentation for login_hint --- docs/config_general.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/config_general.rst b/docs/config_general.rst index dc8f40d8..993cf1d1 100644 --- a/docs/config_general.rst +++ b/docs/config_general.rst @@ -259,14 +259,19 @@ Prefill user login ------------------ If Self Service Password is called from another application, you can -prefill the login but sending an HTTP header. +prefill the login by sending an HTTP header. -To enable this feature: +To enable this feature, configure the name of the HTTP header: .. code-block:: php $header_name_preset_login = "Auth-User"; +It is also possible to prefill the login by using the ``login_hint`` +GET or POST parameter. This method does not require any configuration. + +Example: ``https://ssp.example.com/?actionresetbyquestions&login_hint=spiderman`` + Captcha -------