Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix / hasher generator on docs #109

Merged
merged 2 commits into from
Dec 14, 2023
Merged

Conversation

rapcmia
Copy link
Contributor

@rapcmia rapcmia commented Dec 14, 2023

Update the https://github.com/hummingbot/dashboard/blob/main/INSTALLATION.md#method-1-using-hasher_generate to:

import streamlit_authenticator as st_auth
hashed_password = st_auth.Hasher("YOUR_PLAIN_TEXT_PASSWORD").generate()[0]
print(hashed_password)

steamlit_authenticator seem to have updated and hasher_generate is not supported anymore
image
image

@rapcmia rapcmia changed the title Update INSTALLATION.md on hash generate fix / hasher generator on docs Dec 14, 2023
Copy link
Contributor

@nikspz nikspz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test performed:

Generated Hashed Password successfully with

python
>>    import streamlit_authenticator as st_auth
>>    hashed_password = st_auth.Hasher("YOUR_PLAIN_TEXT_PASSWORD").generate()[0]
>>    print(hashed_password)

@rapcmia rapcmia merged commit 986f2e5 into main Dec 14, 2023
@fer000n
Copy link

fer000n commented Apr 24, 2024

same problem:

hashed_password = st_auth.Hasher("test").generate()[0]
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'streamlit_authenticator' has no attribute 'Hasher'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants