Fixes #1579 Exception when browsing to /login when you are already logged in
Added PageState.User check
This commit is contained in:
parent
6059a944bf
commit
ddafd21706
@ -98,7 +98,10 @@
|
|||||||
{
|
{
|
||||||
if (firstRender)
|
if (firstRender)
|
||||||
{
|
{
|
||||||
await username.FocusAsync();
|
if(PageState.User == null)
|
||||||
|
{
|
||||||
|
await username.FocusAsync();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user