Skip to content

Início / Optitravel / Security / Password encrypt

Activation

Get started

In order to activate password encryption, first we must first check whether the activation module already exists or not in the system.

To do this, in your system go to administration module and check if "Encriptação de passwords" interface is avaiable

Activation module

Activate Module

If the present module does not exist, it must be included. To do this, you need to use the system database. Use the kt_cat from the administration module and execute a sql command.

Obtain kt_cat value

Activation - k_cat value

SQL command

INSERT INTO `optitravel`.`pag_links` (
  `template`,
  `type`,
  `lang`,
  `cat`,
  `subcat`,
  `desc`,
  `link`,
  `link_get_add`,
  `content_span_right`,
  `access_level`,
  `priority`,
  `status`,
  `template_default`,
  `cat_img`,
  `support`,
  `master_id`
) 
VALUES
  (
    'system_template',
    'LINK',
    'PT',
    'kt_cat',
    '0',
    'Encriptação de passwords','/online/backoffice/modules/administration/agency_access/agency_password_encryption_management.php',
    '',
    'NO',
    0,
    'minor_priority_avaiable',
    'A',
    'NO',
    '',
    '',
    0
  ) ;

After executing the following command you should see something like this in your system database

Activation - SQL select result

Activate password encrypt

Now with the interface properly activated, we will proceed to activate password encrypt. To do this, go to the "Encriptação de passwords" interface within the administration module and select the option "Ativado" in the select "Encriptação de passwords" and click "Atualizar" and wait for the system response. If we get a successful response, then we have the password encrypt activated in the system.

Notes: The system may take some time to respond, especially if the clients_users table has many results.

Activation - activation operation result

Database

After that we will se something like this in the password field. Activation - sql result


(Última atualização: 05/11/2024)