Example #1
0
        protected async Task LoginUser()
        {
            await AuthenticateService.Login(User);

            if (AuthenticateService.IsLoggedIn)
            {
                NavigationManager.NavigateTo("/");
            }
            else
            {
                ShowLoginFailed = true;
            }
        }