Path: redb-identity/src/redb.Identity.Web/Components/Pages/ResetPassword.razor Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Web/Components/Pages/ResetPassword.razor ---- @page "/reset-password" @attribute [AllowAnonymous] Reset password — redb.Identity
@if (string.IsNullOrEmpty(Token) || string.IsNullOrEmpty(Jti)) { } else { @if (!string.IsNullOrEmpty(Error)) { }
@code { [CascadingParameter] public HttpContext? HttpContext { get; set; } [SupplyParameterFromQuery] public string? Token { get; set; } [SupplyParameterFromQuery] public string? Jti { get; set; } [SupplyParameterFromQuery] public string? Error { get; set; } private string ErrorMessage => Error switch { "invalid_token" => "This reset link is invalid or has expired. Please request a new one.", "weak_password" => "The new password does not meet the complexity requirements.", "password_mismatch" => "The two password fields do not match.", "missing_fields" => "Please fill in both password fields.", _ => "We couldn't reset your password. Please request a new link." }; }