IsaacKerson commited on
Commit
a2a8e2c
1 Parent(s): b62b20f

add self.password to Hasher class

Browse files
Files changed (1) hide show
  1. authenticator.py +1 -1
authenticator.py CHANGED
@@ -39,7 +39,7 @@ class Hasher:
39
  str
40
  The hashed password.
41
  """
42
- return self.hash(password)
43
 
44
  class Authenticate:
45
  def __init__(self, names, usernames, passwords, cookie_name, key, cookie_expiry_days=30):
 
39
  str
40
  The hashed password.
41
  """
42
+ return self.hash(self.password)
43
 
44
  class Authenticate:
45
  def __init__(self, names, usernames, passwords, cookie_name, key, cookie_expiry_days=30):