strICT.InFlow.Web.Controllers.AccountController.HasPassword C# (CSharp) Method

HasPassword() private method

private HasPassword ( ) : bool
return bool
        private bool HasPassword()
        {
            var user = UserManager.FindById(User.Identity.GetUserId());
            if (user != null)
            {
                return user.PasswordHash != null;
            }
            return false;
        }