Compare commits
No commits in common. "2f011de6f71026af0d3989c0d652986796522fbd" and "6dc735c18041a70a42214bda23f5f876599a92a8" have entirely different histories.
2f011de6f7
...
6dc735c180
@ -75,7 +75,7 @@ class Authetication:
|
||||
user = {
|
||||
'username': username,
|
||||
'password': bcrypt_hash.decode('utf-8'),
|
||||
'homeDir': str(data['index'] + 1)
|
||||
'homeDir': data['index'] + 1
|
||||
}
|
||||
|
||||
data['index'] = data['index'] + 1
|
||||
|
@ -33,7 +33,7 @@ def testAuth(username: str, password: str):
|
||||
auth.saveUser(username, password)
|
||||
homeDir = auth.login(username, password)
|
||||
|
||||
if homeDir == '1':
|
||||
if homeDir == 1:
|
||||
test_logger.info('TEST 1 --> Authentication test with VALID :: PASSED')
|
||||
else:
|
||||
test_logger.info('TEST 1 --> Authentication test with VALID :: FAILED')
|
||||
|
@ -1 +0,0 @@
|
||||
{"index": 1, "user": [{"username": "Di\u00f3sbejglia", "password": "$2a$12$Gx9p..zJuM8uXdktzlC3vuGBSSpw1/lBCGSIK5d6cAFyKnfoPMPo6", "homeDir": "1"}]}
|
Loading…
Reference in New Issue
Block a user