mirror of
https://github.com/Oreolek/kangana.git
synced 2024-06-16 15:01:09 +03:00
auth config pruning part 1
This commit is contained in:
parent
0f6ddf60f8
commit
51127b4d73
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
application/config/database.php
|
||||
application/config/auth.php
|
||||
application/config/stats.php
|
||||
application/config/email.php
|
||||
application/config/sphinxql.php
|
||||
|
|
15
application/config/auth.php.example
Normal file
15
application/config/auth.php.example
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php defined('SYSPATH') OR die('No direct access allowed.');
|
||||
|
||||
return array(
|
||||
|
||||
'driver' => 'File',
|
||||
'users' => array(
|
||||
'admin' => 'password-hash'
|
||||
// generate the hash using hash_hmac('sha256', $str, "hashing_key")
|
||||
),
|
||||
'hash_method' => 'sha256',
|
||||
'hash_key' => "hashing_key",
|
||||
'lifetime' => 1209600,
|
||||
'session_key' => 'auth_user',
|
||||
|
||||
);
|
Loading…
Reference in a new issue