예제 #1
0
        public override bool ChangePassword(string username, string oldPassword, string newPassword)
        {
            AdminUser user = this.GetUserTasks().GetAdminUser(username);

            if (user != null)
            {
                user.UpdatePassword(newPassword);
                this.GetUserTasks().SaveOrUpdateUser(user);
                return(true);
            }
            return(false);
        }