You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2015/07/29 17:22:09 UTC

svn commit: r1693295 - /vcl/trunk/web/.ht-inc/authentication.php

Author: jfthomps
Date: Wed Jul 29 15:22:08 2015
New Revision: 1693295

URL: http://svn.apache.org/r1693295
Log:
VCL-892 - $authtype gets undefined when clearselection submitted to selectAuth

authentication.php: modified selectAuth: changed unset($authtype); to $authtype = '';

Modified:
    vcl/trunk/web/.ht-inc/authentication.php

Modified: vcl/trunk/web/.ht-inc/authentication.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/authentication.php?rev=1693295&r1=1693294&r2=1693295&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/authentication.php (original)
+++ vcl/trunk/web/.ht-inc/authentication.php Wed Jul 29 15:22:08 2015
@@ -134,7 +134,7 @@ function selectAuth() {
 		$authtype = $_COOKIE['VCLAUTHSEL'];
 	if(array_key_exists('clearselection', $_GET) && $_GET['clearselection'] == 1) {
 		setcookie("VCLAUTHSEL", '', time() - 10, "/", COOKIEDOMAIN);
-		unset($authtype);
+		$authtype = '';
 	}
 	if(array_key_exists($authtype, $authMechs)) {
 		if(array_key_exists('remsel', $_POST) && $_POST['remsel'] == 1)