diff --git a/authentik/core/tests/utils.py b/authentik/core/tests/utils.py index 6ccb02b24..fe230d341 100644 --- a/authentik/core/tests/utils.py +++ b/authentik/core/tests/utils.py @@ -31,9 +31,8 @@ def create_test_admin_user(name: Optional[str] = None, set_password=False) -> Us name=uid, email=f"{uid}@goauthentik.io", ) - if set_password: - user.set_password(uid) - user.save() + user.set_password(uid) + user.save() group.users.add(user) return user diff --git a/web/src/user/LibraryPage.ts b/web/src/user/LibraryPage.ts index 516b3cf7c..8c758b178 100644 --- a/web/src/user/LibraryPage.ts +++ b/web/src/user/LibraryPage.ts @@ -98,7 +98,9 @@ export class LibraryPage extends LitElement { renderApps(config: UIConfig): TemplateResult { return html`