From e9102f4e286cda8c60f626d3bcea541222a2d06a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 6 Nov 2021 12:57:06 +0100 Subject: [PATCH] web/user: fix redirect after starting configuration flow from user interface Signed-off-by: Jens Langhammer --- web/src/user/user-settings/details/UserPassword.ts | 7 ++++++- web/src/user/user-settings/mfa/MFADevicesPage.ts | 6 +++++- web/src/user/user-settings/sources/SourceSettingsOAuth.ts | 7 ++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/web/src/user/user-settings/details/UserPassword.ts b/web/src/user/user-settings/details/UserPassword.ts index 8356bb544..6ef941396 100644 --- a/web/src/user/user-settings/details/UserPassword.ts +++ b/web/src/user/user-settings/details/UserPassword.ts @@ -28,7 +28,12 @@ export class UserSettingsPassword extends LitElement { return html`
${t`Change your password`}
diff --git a/web/src/user/user-settings/mfa/MFADevicesPage.ts b/web/src/user/user-settings/mfa/MFADevicesPage.ts index 92beaab20..1bd440bfa 100644 --- a/web/src/user/user-settings/mfa/MFADevicesPage.ts +++ b/web/src/user/user-settings/mfa/MFADevicesPage.ts @@ -78,7 +78,11 @@ export class MFADevicesPage extends Table { .map((stage) => { return html`
  • ${stageToAuthenticatorName(stage)} diff --git a/web/src/user/user-settings/sources/SourceSettingsOAuth.ts b/web/src/user/user-settings/sources/SourceSettingsOAuth.ts index 2560a1982..e1ac64f0d 100644 --- a/web/src/user/user-settings/sources/SourceSettingsOAuth.ts +++ b/web/src/user/user-settings/sources/SourceSettingsOAuth.ts @@ -45,7 +45,12 @@ export class SourceSettingsOAuth extends BaseUserSettings { `; } return html`

    ${t`Not connected.`}

    -
    + ${t`Connect`} `; }),