|
31 | 31 |
|
32 | 32 | ### 1. Quickstart |
33 | 33 |
|
34 | | -* Subscribe to receive a free [API key](https://subscribe.streamlit.app/) |
| 34 | +```* Subscribe to receive a free [API key](https://subscribe.streamlit.app/)``` |
35 | 35 | * Check out the [demo app](https://st-demo-application.streamlit.app/). |
36 | 36 | * Feel free to visit the [API reference](https://streamlit-authenticator.readthedocs.io/en/stable/). |
37 | 37 | * And finally follow the tutorial below. |
@@ -99,7 +99,7 @@ oauth2: # Optional |
99 | 99 | pre-authorized: # Optional |
100 | 100 | emails: |
101 | 101 | - melsby@gmail.com |
102 | | -api_key: # Optional - register to receive a free API key: https://subscribe.streamlit.app/ |
| 102 | +api_key: # Optional - (phased out) |
103 | 103 | ``` |
104 | 104 |
|
105 | 105 | * _Please note that the 'failed_login_attempts' and 'logged_in' fields corresponding to each user's number of failed login attempts and log-in status in the credentials will be added and managed automatically._ |
@@ -282,10 +282,10 @@ elif st.session_state.get('authentication_status') is None: |
282 | 282 |
|
283 | 283 | * You may also retrieve the number of failed login attempts a user has made by accessing **st.session_state.get('failed_login_attempts')** which returns a dictionary with the username as key and the number of failed attempts as the value. |
284 | 284 |
|
285 | | -### 8. Enabling two factor authentication |
| 285 | +### 8. Enabling two factor authentication (phased out) |
286 | 286 |
|
287 | 287 | * You may enable two factor authentication for the **register_user**, **forgot_password**, and **forgot_username** widgets for enhanced security. |
288 | | -* First register to receive a free API key [here](https://subscribe.streamlit.app/). |
| 288 | +```* First register to receive a free API key [here](https://subscribe.streamlit.app/).``` |
289 | 289 | * Then add your API key to the the authenticator object as **api_key** or alternatively add it to the config file as shown in step 3. |
290 | 290 | * Finally set the **two_factor_auth** parameter for the widget to True, this will prompt the user to enter a four digit code sent to their email. |
291 | 291 |
|
|
0 commit comments