summaryrefslogtreecommitdiff
path: root/validate.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-24 20:59:13 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-24 20:59:13 +0000
commit2e34f4eaf6f115e5da3fd0cfc59f6c64edf9b7b1 (patch)
treec2aaddbc36f64008b7b54794aa9464afad5f8190 /validate.php
parentb374cb4bb453fb5c38dbe98a570a3a7f74d9c487 (diff)
downloadusers-2e34f4eaf6f115e5da3fd0cfc59f6c64edf9b7b1.tar.gz
users-2e34f4eaf6f115e5da3fd0cfc59f6c64edf9b7b1.tar.bz2
users-2e34f4eaf6f115e5da3fd0cfc59f6c64edf9b7b1.zip
synch recent changes from R1 to HEAD
Diffstat (limited to 'validate.php')
-rw-r--r--validate.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/validate.php b/validate.php
index 1fb3a28..2402c28 100644
--- a/validate.php
+++ b/validate.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/validate.php,v 1.5 2005/08/07 17:46:46 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/validate.php,v 1.6 2005/08/24 20:59:13 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: validate.php,v 1.5 2005/08/07 17:46:46 squareing Exp $
+ * $Id: validate.php,v 1.6 2005/08/24 20:59:13 squareing Exp $
* @package users
* @subpackage functions
*/
@@ -27,6 +27,7 @@ if( empty( $_SESSION['loginfrom'] ) ) {
$_SESSION['loginfrom'] = $from['path'];
}
}
+/* This appears obsoleted by code in users/admin/index.php (assume_user) - wolff_borg
if ($gBitUser->isAdmin()) {
if (isset($_REQUEST["su"])) {
if ($gBitUser->userExists( array( 'login' => $_REQUEST['username'] ) ) ) {
@@ -36,10 +37,12 @@ if ($gBitUser->isAdmin()) {
$url = $_SESSION['loginfrom'];
//unset session variable for the next su
unset($_SESSION['loginfrom']);
- header("location: $url");
+ echo("location: $url");
+ //header("location: $url");
die;
}
}
+*/
$https_mode = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on';
$https_login_required = $gBitSystem->getPreference('https_login_required', 'n');