diff --git a/.gitignore b/.gitignore index b6deaac..337dfb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ application/config/database.php +application/config/auth.php application/config/stats.php application/config/email.php application/config/sphinxql.php diff --git a/application/config/auth.php.example b/application/config/auth.php.example new file mode 100644 index 0000000..7f073e1 --- /dev/null +++ b/application/config/auth.php.example @@ -0,0 +1,15 @@ + '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', + +);