Modificare il file:
\res\access.inc.php
<?php // Users data $imSettings['access']['users'] = array( 'admin' => array( 'id' => 'p6g32m1y', 'groups' => array('p6g32m1y'), 'firstname' => 'Admin', 'lastname' => '', 'email' => 'admin', 'password' => '$2a$11$lT7XFaJz.z9EaW92tAjui.DDnS8Pe/3GxkFsMxWhUO2TF43BGMxtW', 'crypt_encoding' => 'csharp_bcrypt', 'db_stored' => false, 'page' => 'index.html' ), 'nuovoutente' => array( 'id' => '0v3wufz2', 'groups' => array('0v3wufz2'), 'firstname' => 'NuovoUtente', 'lastname' => '', 'email' => 'nuovoutente', 'password' => '$2a$11$E8I61F878Osl83HTk5jN1Om6iNgA.2WjzKZjb.LRvCs44L5Bt8NAm', 'crypt_encoding' => 'csharp_bcrypt', 'db_stored' => false, 'page' => 'index.html' ) ); // Admins list $imSettings['access']['admins'] = array('p6g32m1y'); // Page/Users permissions $imSettings['access']['pages'] = array(); // PASSWORD CRYPT $imSettings['access']['password_crypt'] = array( 'encoding_id' => 'php_default', 'encodings' => array( 'no_crypt' => array( 'encode' => function ($pwd) { return $pwd; }, 'check' => function ($input, $encoded) { return $input == $encoded; } ), 'php_default' => array( 'encode' => function ($pwd) { return password_hash($pwd, PASSWORD_DEFAULT); }, 'check' => function ($input, $encoded) { return password_verify($input, $encoded); } ), 'csharp_bcrypt' => array( 'encode' => function ($pwd) { return password_hash($pwd, PASSWORD_BCRYPT); }, 'check' => function ($input, $encoded) { return password_verify($input, $encoded); } ) ) ); // End of file access.inc.php
[
Íàçàä
]