This tool allow you to add new admins into the ocp_admin_privileges table (for login into OpenSIPS Control Panel).
The admin can add a new admins to the list, by completing all the fields in the form (ID, names, password).
Database layer configuration file :
opensips-cp/config/tools/admin/add_admin/db.inc.php
Attributes set in this file :
Local configuration file :
opensips-cp/config/tools/admin/add_admin/local.inc.php
Attributes set in this file :
Attributes like database table name, fifo file name and variables which control the way the tool displays information from database.
The following variables present in this file may be subject to change more often:
$config->passwd_mode.
This array controls the way the admin password is going to be saved in the database, by setting:
$config->passwd_mode=0
the password will be saved in a text mode, by setting:
$config->passwd_mode=1 the password will be saved in a chyphered way (password field will be empty and ha1 will be calculated)