@page @model LogoutModel @{ var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null."); }

Logout

Logging out will make sure that others cant use this session to make changes to the wiki. You'll need to log back in before making changes.


@{ if (User.Identity?.IsAuthenticated ?? false) {
} else {

You have successfully logged out of the application.

} }