hummingbot / dashboard

Application that helps you create, backtest, deploy, and manage Hummingbot instances
Apache License 2.0
174 stars 115 forks source link

fix / hasher generator on docs #109

Closed rapcmia closed 9 months ago

rapcmia commented 9 months ago

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

fer000n commented 5 months ago

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'