public async Task <IActionResult> OnPostForgetMachineAsync() { var userId = _currentUserService.UserId; if (String.IsNullOrEmpty(userId)) { return(NotFound($"Unable to load user.")); } await _authenticatorService.ForgetMachineAsync(); StatusMessage = "The current browser has been forgotten. When you login again from this browser you will be prompted for your 2fa code."; return(RedirectToPage()); }