providers/ldap: set password_change_date in check_pwd_last_set to avoid loop ending user sessions #25536
Annotations
2 errors and 1 warning
run unittest:
authentik/enterprise/audit/tests.py#L58
TestEnterpriseAudit.test_create
AssertionError: {'id': {'new_value': 419, 'previous_value':[918 chars]one}} != {'name': {'new_value': 'p08i6FJfDOKYlxZi5cs[918 chars]one}}
{'attributes': {'new_value': {}, 'previous_value': None},
'date_joined': {'new_value': '2024-11-07T10:53:55.754801Z',
'previous_value': None},
'email': {'new_value': '', 'previous_value': None},
'first_name': {'new_value': '', 'previous_value': None},
'id': {'new_value': 419, 'previous_value': None},
'is_active': {'new_value': True, 'previous_value': None},
'last_name': {'new_value': '', 'previous_value': None},
'name': {'new_value': 'p08i6FJfDOKYlxZi5cskv7URRb5xkJ0gnIB7AKdz',
'previous_value': None},
'password': {'new_value': '********************', 'previous_value': None},
- 'password_change_date': {'new_value': '2024-11-07T10:53:55.755955Z',
? ^^^^^
+ 'password_change_date': {'new_value': '2024-11-07T10:53:55.786114Z',
? ^^^^^
'previous_value': None},
'path': {'new_value': 'foo', 'previous_value': None},
'type': {'new_value': 'internal', 'previous_value': None},
'username': {'new_value': 'wDcvoxiGV9T2RN4krVBcFA0p9LudiqqzFVzQtX8C',
'previous_value': None},
'uuid': {'new_value': 'a421e9acea6249e7be984c1c82d7a040',
'previous_value': None}}
|
run unittest
Process completed with exit code 2.
|
Run codecov/codecov-action@v4
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Loading