/// <summary>认证令牌</summary>
        public override LoginState Login(LoginModel model)
        {
            var state = base.Login(model);

            if (state == LoginState.OK)
            {
                var context = new HttpContextWrapper(HttpContext.Current);
                var result  = context.Login(this.SecurityService, AuthenticationType.Forms, model.UserName, model.Password);
                if (!result.Succeed)
                {
                    return(LoginState.UserOrPasswordError);
                }
            }
            return(state);
        }