Refresh user signin after updating their profile (#1615)

This commit is contained in:
Jass Bagga 2018-02-05 14:21:19 -08:00 committed by GitHub
parent 1653b63dbf
commit 37b8abf841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,7 @@ namespace IdentitySample.DefaultUI
}
}
await _signInManager.RefreshSignInAsync(user);
StatusMessage = "Your profile has been updated";
return RedirectToPage();
}

View File

@ -110,6 +110,7 @@ namespace Microsoft.AspNetCore.Identity.UI.Pages.Account.Manage.Internal
}
}
await _signInManager.RefreshSignInAsync(user);
StatusMessage = "Your profile has been updated";
return RedirectToPage();
}