Skip to content

Commit

Permalink
Fix TOTP breaking remember me
Browse files Browse the repository at this point in the history
  • Loading branch information
CoPokBl committed Jun 12, 2024
1 parent 8e4ac54 commit 5a5ca41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pages/Account/Totp.razor
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

private async void Submit() {
string? mfaToken = NavigationManager.GetQueryStrings("mfa_token");
bool rememberMe = NavigationManager.GetQueryStrings("remember_me") == "true";
bool rememberMe = NavigationManager.GetQueryStrings("remember_me")?.ToLower() == "true";

HtmlInteractor interactor = new(JsRuntime);
string code = await interactor.GetValue("otp");
Expand Down

0 comments on commit 5a5ca41

Please sign in to comment.