normal comparison
This commit is contained in:
parent
e4a63bc219
commit
aa33a79e13
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ function redir_init(App $a) {
|
|||
{
|
||||
foreach ($_SESSION['remote'] as $v) {
|
||||
if (!empty($v['uid']) && !empty($v['cid']) &&
|
||||
$v['uid'] === Session::get('visitor_visiting') &&
|
||||
$v['cid'] === Session::get('visitor_id')) {
|
||||
$v['uid'] == Session::get('visitor_visiting') &&
|
||||
$v['cid'] == Session::get('visitor_id')) {
|
||||
// Remote user is already authenticated.
|
||||
$target_url = defaults($url, $contact_url);
|
||||
Logger::log($contact['name'] . " is already authenticated. Redirecting to " . $target_url, Logger::DEBUG);
|
||||
|
|
Loading…
Reference in a new issue