Skip to content

Commit 762a80b

Browse files
authored
Update README.md
1 parent 1d20e06 commit 762a80b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
### 1. Quickstart
3333

34-
* Subscribe to receive a free [API key](https://subscribe.streamlit.app/)
34+
```* Subscribe to receive a free [API key](https://subscribe.streamlit.app/)```
3535
* Check out the [demo app](https://st-demo-application.streamlit.app/).
3636
* Feel free to visit the [API reference](https://streamlit-authenticator.readthedocs.io/en/stable/).
3737
* And finally follow the tutorial below.
@@ -99,7 +99,7 @@ oauth2: # Optional
9999
pre-authorized: # Optional
100100
emails:
101101
- melsby@gmail.com
102-
api_key: # Optional - register to receive a free API key: https://subscribe.streamlit.app/
102+
api_key: # Optional - (phased out)
103103
```
104104

105105
* _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:
282282

283283
* 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.
284284

285-
### 8. Enabling two factor authentication
285+
### 8. Enabling two factor authentication (phased out)
286286

287287
* 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/).```
289289
* 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.
290290
* 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.
291291

0 commit comments

Comments
 (0)