Compare commits

..

No commits in common. "978d7cf0928469777444ba611d7b40b6951684d4" and "fc5385af63e26e41952d58f9231c5e2ee4d3e2ae" have entirely different histories.

View File

@ -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 self.HOME_DIRECTORY_LOCATION + os.path.sep + user['homeDir']
return user['homeDir']
except ValueError:
auth_logger.debug("User NOT logged in: " + username)
return ''