File: /var/www/web37/htdocs/telefon-sex/res/access.inc.php
<?php
// Users data
$imSettings['access']['users'] = array(
'example@example.com' => array(
'id' => 'nz8cv2ww',
'groups' => array('hbpsmlc3'),
'firstname' => 'Admin',
'lastname' => '',
'password' => '$2a$11$2TUzxyWeAWqY7ajdBFKCvOrliewZdyRWVJ96bR8jA2DS1AiH2UNGO',
'crypt_encoding' => 'csharp_bcrypt',
'db_stored' => false,
'page' => false
)
);
// Admins list
$imSettings['access']['admins'] = array('nz8cv2ww');
// 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