handle focus error on blazor web assembly when verifying email address

This commit is contained in:
mostafametwally 2024-02-22 00:33:45 +01:00
parent f5e13c25a7
commit b08d91a218

View File

@ -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