diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-28 16:57:34 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-28 16:57:34 -0500 |
commit | 58a3ab692ec3a61c270e5a7b0953b6bb4b48b39c (patch) | |
tree | 5d873a2b6cd93e520fe8ee3e937239a99f1d2709 /login.php | |
parent | c570bb77947c29a78d9a2ac98e09832be0daac66 (diff) | |
download | ampache-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.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |