Auth

File Driver

The [Auth::File] driver is included with the auth module.

Below are additional configuration options that can be set for this driver.

Name Type Default Description
users array array() A user => password (hashed) array of all the users in your application

Forcing Login

[Auth_File::force_login] allows you to force a user login without a password.

// Force the user with a username of admin to be logged into your application
Auth::instance()->force_login('admin');
$user = Auth::instance()->get_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