Path: redb/redb.Templates/templates/redb-bff/RedbBff.Web/Components/Pages/Login.razor
Snapshot: redb, 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
Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Templates/templates/redb-bff/RedbBff.Web/Components/Pages/Login.razor
----
@page "/login"
@attribute [AllowAnonymous]
@attribute [ExcludeFromInteractiveRouting]
@(Error == "stale" ? "The form expired. Please try again." : "Wrong login or password.")
} @* data-enhance=false: a full-page POST, so the answer can set the session cookie. *@The users are in RedbBff.Web/appsettings.json (Web:Users).
@code { [SupplyParameterFromQuery] private string? Error { get; set; } [SupplyParameterFromQuery] private string? ReturnUrl { get; set; } }