/etc/kohana2/modules/auth/config/auth.php is in libkohana2-modules-php 2.3.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | <?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Auth library configuration. By default, Auth will use the controller
* database connection. If Database is not loaded, it will use use the default
* database group.
*
* In order to log a user in, a user must have the `login` role. You may create
* and assign any other role to your users.
*/
/**
* Driver to use for authentication. By default, LDAP and ORM are available.
*/
$config['driver'] = 'ORM';
/**
* Type of hash to use for passwords. Any algorithm supported by the hash function
* can be used here. Note that the length of your password is determined by the
* hash type + the number of salt characters.
* @see http://php.net/hash
* @see http://php.net/hash_algos
*/
$config['hash_method'] = 'sha1';
/**
* Defines the hash offsets to insert the salt at. The password hash length
* will be increased by the total number of offsets.
*/
$config['salt_pattern'] = '1, 3, 5, 9, 14, 15, 20, 21, 28, 30';
/**
* Set the auto-login (remember me) cookie lifetime, in seconds. The default
* lifetime is two weeks.
*/
$config['lifetime'] = 1209600;
/**
* Set the session key that will be used to store the current user.
*/
$config['session_key'] = 'auth_user';
/**
* Usernames (keys) and hashed passwords (values) used by the File driver.
* Default admin password is "admin". You are encouraged to change this.
*/
$config['users'] = array
(
// 'admin' => 'b3154acf3a344170077d11bdb5fff31532f679a1919e716a02',
);
|