You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PlexShare/fuel/packages/auth/config/ormauth.php

99 lines
2.0 KiB

<?php
/**
* Fuel is a fast, lightweight, community driven PHP 5.4+ framework.
*
* @package Fuel
* @version 1.8.1
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2018 Fuel Development Team
* @link http://fuelphp.com
*/
/**
* NOTICE:
*
* If you need to make modifications to the default configuration, copy
* this file to your app/config folder, and make them in there.
*
* This will allow you to upgrade fuel without losing your custom config.
*/
return array(
/**
* DB connection, leave null to use default
*/
'db_connection' => null,
/**
* DB write connection, leave null to use same value as db_connection
*/
'db_write_connection' => null,
/**
* DB table name for the user table
*/
'table_name' => 'users',
/**
* Array, choose which columns from the users table are selected.
* must include: username, password, email, last_login,
* login_hash, group & profile_fields
*/
'table_columns' => null,
/**
* prefix to use for the cache
*/
'cache_prefix' => 'auth',
/**
* This will allow you to use the group & acl driver for non-logged in users
*/
'guest_login' => true,
/**
* Remember-me functionality
*/
'remember_me' => array(
/**
* Whether or not remember me functionality is enabled
*/
'enabled' => false,
/**
* Name of the cookie used to record this functionality
*/
'cookie_name' => 'rmcookie',
/**
* Remember me expiration (default: 31 days)
*/
'expiration' => 86400 * 31,
),
/**
* This will allow the same user to be logged in multiple times.
*
* Note that this is less secure, as session hijacking countermeasures have to
* be disabled for this to work!
*/
'multiple_logins' => false,
/**
* Salt for the login hash
*/
'login_hash_salt' => 'put_some_salt_in_here',
/**
* $_POST key for login username
*/
'username_post_key' => 'username',
/**
* $_POST key for login password
*/
'password_post_key' => 'password',
);