V13: The login screen does not display external login errors (#15715)

* show external login errors as a subheadline on the login screen
* fix: migrate error handling from v12 for external login
* cleanup unused client-side javascript
This commit is contained in:
Jacob Overgaard
2024-02-14 13:24:10 +01:00
committed by GitHub
parent 3d7e79c3e5
commit 12355219d4
4 changed files with 21 additions and 7 deletions

View File

@@ -122,9 +122,11 @@ public static class ViewDataExtensions
this ViewDataDictionary viewData,
BackOfficeExternalLoginProviderErrors errors) => viewData[TokenExternalSignInError] = errors;
[Obsolete("This is deprecated and will be removed in V15")]
public static string? GetPasswordResetCode(this ViewDataDictionary viewData) =>
(string?)viewData[TokenPasswordResetCode];
[Obsolete("This is deprecated and will be removed in V15")]
public static void SetPasswordResetCode(this ViewDataDictionary viewData, string value) =>
viewData[TokenPasswordResetCode] = value;