1
0
Fork 0
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:
Alexander Yakovlev 2014-01-29 17:44:40 +07:00
parent 0f6ddf60f8
commit 51127b4d73
2 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
application/config/database.php
application/config/auth.php
application/config/stats.php
application/config/email.php
application/config/sphinxql.php

View 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',
);