@page "/login"
@layout LoginLayout
@using Microsoft.AspNetCore.Authorization
@attribute [AllowAnonymous]

<LoginCard Product="ScadaBridge" Action="/auth/login" Error="@ErrorMessage">
    <AntiforgeryToken />
</LoginCard>

@code {
    [SupplyParameterFromQuery(Name = "error")] public string? ErrorMessage { get; set; }
}
