Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixes #3805 - Allow session driver to be specified

  • Loading branch information...
commit b98daad83b2e9ea5d80cec1291236f4b6a7f594d 1 parent aeb815c
Kiall Mac Innes kiall authored

Showing 2 changed files with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  classes/kohana/auth.php
  2. +1 0  config/auth.php
2  classes/kohana/auth.php
@@ -54,7 +54,7 @@ public function __construct($config = array())
54 54 // Save the config in the object
55 55 $this->_config = $config;
56 56
57   - $this->_session = Session::instance();
  57 + $this->_session = Session::instance($this->_config['session_type']);
58 58 }
59 59
60 60 abstract protected function _login($username, $password, $remember);
1  config/auth.php
@@ -6,6 +6,7 @@
6 6 'hash_method' => 'sha256',
7 7 'hash_key' => NULL,
8 8 'lifetime' => 1209600,
  9 + 'session_type' => Session::$default,
9 10 'session_key' => 'auth_user',
10 11
11 12 // Username/password combinations for the Auth File driver

0 comments on commit b98daad

Please sign in to comment.
Something went wrong with that request. Please try again.