-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 15.0.17.52
-
Fix Version/s: None
-
Component/s: UCP (User Control Panel), Userman
-
Labels:None
-
ToDo:
-
Asterisk Version:16.8
-
Distro Version:Debian GNU/Linux 10 (buster)
-
Distro:Self Install Debian
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.