Compare commits

..

No commits in common. "2f011de6f71026af0d3989c0d652986796522fbd" and "6dc735c18041a70a42214bda23f5f876599a92a8" have entirely different histories.

3 changed files with 2 additions and 3 deletions

View File

@ -75,7 +75,7 @@ class Authetication:
user = { user = {
'username': username, 'username': username,
'password': bcrypt_hash.decode('utf-8'), 'password': bcrypt_hash.decode('utf-8'),
'homeDir': str(data['index'] + 1) 'homeDir': data['index'] + 1
} }
data['index'] = data['index'] + 1 data['index'] = data['index'] + 1

View File

@ -33,7 +33,7 @@ def testAuth(username: str, password: str):
auth.saveUser(username, password) auth.saveUser(username, password)
homeDir = auth.login(username, password) homeDir = auth.login(username, password)
if homeDir == '1': if homeDir == 1:
test_logger.info('TEST 1 --> Authentication test with VALID :: PASSED') test_logger.info('TEST 1 --> Authentication test with VALID :: PASSED')
else: else:
test_logger.info('TEST 1 --> Authentication test with VALID :: FAILED') test_logger.info('TEST 1 --> Authentication test with VALID :: FAILED')

View File

@ -1 +0,0 @@
{"index": 1, "user": [{"username": "Di\u00f3sbejglia", "password": "$2a$12$Gx9p..zJuM8uXdktzlC3vuGBSSpw1/lBCGSIK5d6cAFyKnfoPMPo6", "homeDir": "1"}]}