Attempt at configuration

This commit is contained in:
Orion Poplawski
2023-06-02 17:13:20 -06:00
committed by Min RK
parent aae5aee065
commit 107b98b964
4 changed files with 39 additions and 1 deletions

View File

@@ -22,6 +22,21 @@ started.
If this configuration value is not set, then **all authenticated users will be allowed into your hub**.
```
## One Time Passwords ( request_otp )
By setting `request_otp` to true, the login screen will show and additional password input field
to accept an OTP:
```python
c.Authenticator.request_otp = True
```
By default, the prompt label is `OTP:`, but this can be changed by setting `otp_prompt`:
```python
c.Authenticator.otp_prompt = 'Google Authenticator:'
```
## Configure admins (`admin_users`)
```{note}