Example #1
0
        public void Logout()
        {
            var user = User;

            if (user != null)
            {
                Del(Config.Current.COOKIE_REMEMBER_USER_KEY);
                User = null;
            }
        }
Example #2
0
 public void Logout()
 {
     var user = User;
     if (user != null)
     {
         Del(Config.Current.COOKIE_REMEMBER_USER_KEY);
         User = null;
     }
 }