Compare commits

...

2 Commits

Author SHA1 Message Date
978d7cf092 Merge branch 'master' of https://git.kmlabz.com/BiztProtoBois/server
Some checks failed
continuous-integration/drone/push Build is failing
2021-04-29 17:11:41 +02:00
73c91d1426 OK 2021-04-29 17:11:33 +02:00

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