summaryrefslogtreecommitdiff
path: root/fs_selfservice/php/process_login.php
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2010-12-27 00:04:45 +0000
committercvs2git <cvs2git>2010-12-27 00:04:45 +0000
commitc82d349f864e6bd9f96fd1156903bc1f7193a203 (patch)
treee117a87533656110b6acd56fc0ca64289892a9f5 /fs_selfservice/php/process_login.php
parent74e058c8a010ef6feb539248a550d0bb169c1e94 (diff)
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'fs_selfservice/php/process_login.php')
-rw-r--r--fs_selfservice/php/process_login.php38
1 files changed, 0 insertions, 38 deletions
diff --git a/fs_selfservice/php/process_login.php b/fs_selfservice/php/process_login.php
deleted file mode 100644
index 1f4fd9a6b..000000000
--- a/fs_selfservice/php/process_login.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-require('freeside.class.php');
-$freeside = new FreesideSelfService();
-
-$response = $freeside->login( array(
- 'username' => strtolower($_POST['username']),
- 'domain' => strtolower($_POST['domain']),
- 'password' => strtolower($_POST['password']),
-) );
-
-#error_log("[login] received response from freeside: $response");
-
-$error = $response['error'];
-
-if ( $error ) {
-
- header('Location:login.php?username='. urlencode($username).
- '&domain='. urlencode($domain).
- '&error='. urlencode($error)
- );
- die();
-
-}
-
-// sucessful login
-
-$session_id = $response['session_id'];
-
-#error_log("[login] logged into freeside with session_id=$session_id");
-
-// now what? for now, always redirect to the main page.
-// eventually, other options?
-
-header("Location:main.php?session_id=$session_id")
-#die();
-
-?>