Skip to content

Commit 6c761ca

Browse files
authored
Update README.md
1 parent 36765d2 commit 6c761ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import streamlit_authenticator as stauth
5555
* Enter a name, random key, and number of days to expiry, for a re-authentication cookie that will be stored on the client's browser to enable password-less re-authentication. If you do not require re-authentication, you may set the number of days to expiry to 0.
5656
* Define an optional list of pre-authorized emails of users who are allowed to register and add their credentials to the config file using the **register_user** widget.
5757
* Add the optional configuration parameters for OAuth2 if you wish to use the **experimental_guest_login** button.
58-
* **_Please remember to update the config file (as shown in step 13) after you use the reset_password, register_user, forgot_password, or update_user_details widgets._**
58+
* **_Please remember to update the config file (as shown in step 13) anytime the contents are updated or after using any of the widgets._**
5959

6060
```python
6161
cookie:
@@ -188,6 +188,7 @@ except Exception as e:
188188
![](https://github.com/mkhorasani/Streamlit-Authenticator/blob/main/graphics/login_form.JPG)
189189

190190
* **_Please remember to re-invoke an 'unrendered' login widget on each and every page in a multi-page application._**
191+
* * **_Please remember to update the config file (as shown in step 13) after you use this widget._**
191192

192193
### 6. Creating a guest login button
193194

@@ -483,7 +484,7 @@ if st.session_state['authentication_status']:
483484

484485
### 13. Updating the config file
485486

486-
* Please ensure that the config file is re-saved anytime the credentials are updated or whenever the **experimental_guest_login**, **reset_password**, **register_user**, **forgot_password**, or **update_user_details** widgets are used.
487+
* Please ensure that the config file is re-saved anytime the contents are updated or after using any of the widgets.
487488

488489
```python
489490
with open('../config.yaml', 'w') as file:

0 commit comments

Comments
 (0)