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

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