The default configuration file is located in MODPATH/auth/config/auth.php. You should copy this file to APPPATH/config/auth.php and make changes there, in keeping with the cascading filesystem.

Config merging allows these default configuration settings to apply if you don’t overwrite them in your application configuration file.

Name Type Default Description
driver string file The name of the auth driver to use.
hash_method string sha256 The hashing function to use on the passwords.
hash_key string NULL The key to use when hashing the password.
session_type string [Session::$default] The type of session to use when storing the auth user.
session_key string auth_user The name of the session variable used to save the user.

Do you want to contribute to Koseven?

We need YOUR help!

This project is open source. What does this mean? YOU can help:
  • Found a bug? Report it on Github
  • Need a feature? Add it Here
  • Want to help? Join the Forum
Go to Github