summaryrefslogtreecommitdiffstats
path: root/login.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-28 16:57:34 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-28 16:57:34 -0500
commit58a3ab692ec3a61c270e5a7b0953b6bb4b48b39c (patch)
tree5d873a2b6cd93e520fe8ee3e937239a99f1d2709 /login.php
parentc570bb77947c29a78d9a2ac98e09832be0daac66 (diff)
downloadampache-58a3ab692ec3a61c270e5a7b0953b6bb4b48b39c.tar.gz
ampache-58a3ab692ec3a61c270e5a7b0953b6bb4b48b39c.tar.bz2
ampache-58a3ab692ec3a61c270e5a7b0953b6bb4b48b39c.zip
Move sessiony things from vauth into Session
Diffstat (limited to 'login.php')
-rw-r--r--login.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/login.php b/login.php
index 30ef9d33..2a474342 100644
--- a/login.php
+++ b/login.php
@@ -26,7 +26,7 @@ require_once 'lib/init.php';
/* We have to create a cookie here because IIS
* can't handle Cookie + Redirect
*/
-vauth::create_cookie();
+Session::create_cookie();
Preference::init();
/**
@@ -52,7 +52,7 @@ if (($_POST['username'] && $_POST['password']) ||
($_SERVER['REMOTE_USER'] || $_SERVER['HTTP_REMOTE_USER']))) {
if ($_POST['rememberme']) {
- vauth::create_remember_cookie();
+ Session::create_remember_cookie();
}
/* If we are in demo mode let's force auth success */
@@ -137,7 +137,7 @@ if (($_POST['username'] && $_POST['password']) ||
if ($auth['success']) {
// $auth->info are the fields specified in the config file
// to retrieve for each user
- vauth::session_create($auth);
+ Session::create($auth);
// Not sure if it was me or php tripping out,
// but naming this 'user' didn't work at all