Skip to content

Commit

Permalink
Documentation for login_hint
Browse files Browse the repository at this point in the history
  • Loading branch information
coudot committed Aug 18, 2023
1 parent 4e92020 commit d3191b2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/config_general.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------

Expand Down

0 comments on commit d3191b2

Please sign in to comment.