Update INSTALLATION.md on hash generate

This commit is contained in:
rapcmia
2023-12-14 19:07:48 +08:00
committed by GitHub
parent ac9a1edcd6
commit 95fe69d363

View File

@@ -47,8 +47,8 @@ streamlit run main.py
```
import streamlit_authenticator as st_auth
hashed_password = st_auth.hasher_generate("YOUR_PLAIN_TEXT_PASSWORD")
hashed_password = st_auth.Hasher("YOUR_PLAIN_TEXT_PASSWORD").generate()[0]
print(hashed_password)
```
3 - Edit the Credentials YAML File