raymondEDS commited on
Commit
fcc0aea
·
1 Parent(s): 2fd2e4b

fixing hasher

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -1
src/streamlit_app.py CHANGED
@@ -30,7 +30,8 @@ if 'users_config' not in st.session_state:
30
  def create_default_users():
31
  """Create default users configuration"""
32
  # Hash passwords using the correct syntax
33
- hashed_passwords = stauth.Hasher(['admin123', 'teacher123', 'student123']).generate()
 
34
 
35
  default_users = {
36
  'credentials': {
 
30
  def create_default_users():
31
  """Create default users configuration"""
32
  # Hash passwords using the correct syntax
33
+ hasher = stauth.Hasher()
34
+ hashed_passwords = hasher.generate(['admin123', 'teacher123', 'student123'])
35
 
36
  default_users = {
37
  'credentials': {