dev-master
9999999-devA simple library to create account to login/lgout
The Requires
- php >=5.5.0
- voodoo-doll/model 1.*
1.0
1.0.0.0A simple library to create account to login/lgout
The Requires
- php >=5.5.0
- voodoo-doll/model 1.*
A simple library to create account to login/lgout
Doll, (*1)
Add the code below in the file: /App/_conf/Doll.conf.php, (*2)
[Auth] dbAlias = "MyDB" accountModel = "\Model\Account" ; If the class is extended, set the name of the class so Auth\Session can reference the right class sessionTTL = 2592000 ; Session time to live. 30 days online sessionDriver = "\Voodoo\Doll\Auth\SessionDriver\DB" ; DB|Redis or full namespace sessionName = "c_" ; Session cookie name redisDbAlias = "MyRedis" ; The DB alias for Redis Session liveSessionTTL = 300 ; Live session TTL
A simple library to create account to login/lgout
A simple library to create account to login/lgout