Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-22890

UCP password reset fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15.0.17.52
    • Fix Version/s: None
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      16.8
    • Distro Version:
      Debian GNU/Linux 10 (buster)
    • Distro:
      Self Install Debian

      Description

      With all modules up to date, when trying to reset the password of a user with UCP, we get an error.

      Error message : "Unable to locate the FreePBX BMO Class 'Password_policies'A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install password_policies 2) fwconsole ma enable password_policies"

      I can't install or find a password_policies module.

      The error points to admin/modules/ucp/htdocs/includes/User.class.php line 99 : $policy = $this->UCP->FreePBX->Userman->password_policies($_POST['npass1']);

      The function password_policies does not exist in Userman.

      Relevant commit :
      https://git.freepbx.org/projects/FREEPBX/repos/ucp/commits/20fa39790e163ae094e45a789ee593360a703023#htdocs/includes/User.class.php

      Rollback of the UCP module to version 15.0.8 (from 15.0.10) fixes this problem. It's not a solution because 15.0.10 fixes a vulnerability.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kgupta Kapil Gupta
                Reporter:
                jbaron jbaron
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.