From 05db9e5c406c407cb3262c0bdfa9950725047be7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 26 Sep 2021 11:49:40 +0200 Subject: [PATCH] web/admin: handle error correctly when creating user recovery link closes #1472 Signed-off-by: Jens Langhammer --- web/src/locales/en.po | 4 ++++ web/src/locales/pseudo-LOCALE.po | 4 ++++ web/src/pages/users/UserViewPage.ts | 8 ++++++++ 3 files changed, 16 insertions(+) diff --git a/web/src/locales/en.po b/web/src/locales/en.po index a803ba3aa..d70be624a 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -4552,6 +4552,10 @@ msgstr "Title" msgid "To" msgstr "To" +#: src/pages/users/UserViewPage.ts +msgid "To create a recovery link, the current tenant needs to have a recovery flow configured." +msgstr "To create a recovery link, the current tenant needs to have a recovery flow configured." + #: src/pages/users/UserListPage.ts msgid "To directly reset a user's password, configure a recovery flow on the currently active tenant." msgstr "To directly reset a user's password, configure a recovery flow on the currently active tenant." diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index f650108e7..1c40129a2 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -4537,6 +4537,10 @@ msgstr "" msgid "To" msgstr "" +#: src/pages/users/UserViewPage.ts +msgid "To create a recovery link, the current tenant needs to have a recovery flow configured." +msgstr "" + #: src/pages/users/UserListPage.ts msgid "To directly reset a user's password, configure a recovery flow on the currently active tenant." msgstr "" diff --git a/web/src/pages/users/UserViewPage.ts b/web/src/pages/users/UserViewPage.ts index 76548415c..597b12c62 100644 --- a/web/src/pages/users/UserViewPage.ts +++ b/web/src/pages/users/UserViewPage.ts @@ -197,6 +197,7 @@ export class UserViewPage extends LitElement {