From 8794c840cfdb9c7062a9f564f43aae4420ce4f50 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 23 Nov 2021 22:40:31 +0100 Subject: [PATCH] web: only show applications with http link Signed-off-by: Jens Langhammer --- authentik/core/tests/utils.py | 5 ++--- web/src/user/LibraryPage.ts | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) 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`