Fixes #1579 Exception when browsing to /login when you are already logged in

Added PageState.User check
This commit is contained in:
Leigh 2021-08-04 19:33:54 +02:00
parent 6059a944bf
commit ddafd21706

View File

@ -98,7 +98,10 @@
{
if (firstRender)
{
await username.FocusAsync();
if(PageState.User == null)
{
await username.FocusAsync();
}
}
}