Compare commits
2 Commits
fc5385af63
...
978d7cf092
Author | SHA1 | Date | |
---|---|---|---|
978d7cf092 | |||
73c91d1426 |
@ -51,7 +51,7 @@ class Authetication:
|
||||
b64pwd = b64encode(SHA256.new(password.encode('utf-8')).digest())
|
||||
bcrypt_check(b64pwd, user['password'].encode('utf-8'))
|
||||
auth_logger.debug("User logged in: " + username)
|
||||
return user['homeDir']
|
||||
return self.HOME_DIRECTORY_LOCATION + os.path.sep + user['homeDir']
|
||||
except ValueError:
|
||||
auth_logger.debug("User NOT logged in: " + username)
|
||||
return ''
|
||||
|
Loading…
Reference in New Issue
Block a user