mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-20 19:03:25 +08:00
Cleanup
--HG-- branch : contributions
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Orchard.Users.Controllers {
|
||||
}
|
||||
|
||||
public ActionResult LogOff(string returnUrl) {
|
||||
IUser wasLoggedInUser = _authenticationService.GetAuthenticatedUser();
|
||||
var wasLoggedInUser = _authenticationService.GetAuthenticatedUser();
|
||||
_authenticationService.SignOut();
|
||||
if (wasLoggedInUser != null)
|
||||
foreach (var userEventHandler in _userEventHandlers) {
|
||||
|
Reference in New Issue
Block a user