Merge pull request #3869 from pyramidsbuilder/fix-loginpage-focus-for-ws
handle focus error on blazor web assembly when verifying email address
This commit is contained in:
commit
c80c212a54
|
@ -166,7 +166,8 @@
|
|||
{
|
||||
if (firstRender && PageState.User == null && _allowsitelogin)
|
||||
{
|
||||
await username.FocusAsync();
|
||||
if(!string.IsNullOrEmpty(username.Id))
|
||||
await username.FocusAsync();
|
||||
}
|
||||
|
||||
// redirect logged in user to specified page
|
||||
|
|
Loading…
Reference in New Issue
Block a user