Open Varun2101 opened 1 month ago
Seems to be related to a recent commit (dab5966) where generate() was replaced with hash_list(). It was changed to be a classmethod but it still requires self as an input and uses self.passwords, which now fails.
generate()
hash_list()
classmethod
self
self.passwords
https://github.com/mkhorasani/Streamlit-Authenticator/blob/56f9d75b003fe09f9e0df7d9ada65251f09fd269/streamlit_authenticator/utilities/hasher.py#L43-L44
Need to remove classmethod or change to a list input.
list
Terribly sorry, will fix this in the next release.
Seems to be related to a recent commit (dab5966) where
generate()
was replaced withhash_list()
. It was changed to be aclassmethod
but it still requiresself
as an input and usesself.passwords
, which now fails.https://github.com/mkhorasani/Streamlit-Authenticator/blob/56f9d75b003fe09f9e0df7d9ada65251f09fd269/streamlit_authenticator/utilities/hasher.py#L43-L44
Need to remove
classmethod
or change to alist
input.