Esempio n. 1
0
 public ActionResult Logout(LogoutModel model)
 {
     _authManager.Forget(Response);
     if (string.IsNullOrEmpty(model.BackUrl))
     {
         return(RedirectToAction("Index", "Themes"));
     }
     else
     {
         return(Redirect(model.BackUrl));
     }
 }
Esempio n. 2
0
 public void ForgetCurrentUser()
 {
     authManager.Forget();
     StartAuthActivity();
 }