Skip to content
Permalink
Browse files Browse the repository at this point in the history
viewer (not used anymore) generates sec issue
  • Loading branch information
fmancardi committed Apr 4, 2020
1 parent 97573fd commit 72271ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion login.php
Expand Up @@ -151,7 +151,8 @@ function init_args() {
$args->destination = urldecode($pParams['destination']);
$args->loginform_token = urldecode($pParams['loginform_token']);

$args->viewer = $pParams['viewer'];
// $args->viewer = $pParams['viewer'];
$args->viewer = '';

$k2c = array('ajaxcheck' => 'do','ajaxlogin' => 'do');
if (isset($k2c[$pParams['action']])) {
Expand Down

0 comments on commit 72271ef

Please sign in to comment.