From 06f3d6ce436489f54a2618fd8a3bfce78731172d Mon Sep 17 00:00:00 2001 From: "spider@app1" Date: Thu, 19 Oct 2017 15:00:17 -0400 Subject: remove login.php and use only signin.php; add hyridauth providers to reigstration --- hauth/disconnect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hauth') diff --git a/hauth/disconnect.php b/hauth/disconnect.php index c64f565..873fb41 100644 --- a/hauth/disconnect.php +++ b/hauth/disconnect.php @@ -14,7 +14,7 @@ require_once( '../../kernel/setup_inc.php' ); if( !empty( $_REQUEST['returnto'] ) ) { $_SESSION['returnto'] = $_REQUEST['returnto']; -} elseif( !empty( $_SERVER['HTTP_REFERER'] ) && !strpos( $_SERVER['HTTP_REFERER'], 'login.php' ) && !strpos( $_SERVER['HTTP_REFERER'], 'register.php' ) ) { +} elseif( !empty( $_SERVER['HTTP_REFERER'] ) && !strpos( $_SERVER['HTTP_REFERER'], 'signin.php' ) && !strpos( $_SERVER['HTTP_REFERER'], 'register.php' ) ) { $from = parse_url( $_SERVER['HTTP_REFERER'] ); if( !empty( $from['path'] ) && $from['host'] == $_SERVER['SERVER_NAME'] ) { $_SESSION['loginfrom'] = $from['path'].'?'.( !empty( $from['query'] ) ? $from['query'] : '' ); -- cgit v1.3