Skip to content

Commit

Permalink
Fixes logging in with empty or null values (#42)
Browse files Browse the repository at this point in the history
* Use EditForm validator on login
  • Loading branch information
A-Guldborg authored Apr 26, 2024
1 parent 7cfd6fa commit 36ac002
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Shifty.App/Pages/Login.razor
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
<MudButton ButtonType="ButtonType.Submit"
Variant="Variant.Filled"
Color="Color.Primary"
Class="ml-auto"
OnClick="@(async () => await LoginUser())">
Class="ml-auto">
Login
</MudButton>
</MudCardActions>
Expand Down

0 comments on commit 36ac002

Please sign in to comment.