diff --git a/auth/start.php b/auth/start.php index a3f96da..0dec0e6 100644 --- a/auth/start.php +++ b/auth/start.php @@ -8,7 +8,7 @@ $state = bin2hex(random_bytes(16)); $_SESSION['pkce_verifier'] = $verifier; $_SESSION['oauth_state'] = $state; -$_SESSION['oauth_return'] = safe_return_path($_GET['return'] ?? ($_SERVER['HTTP_REFERER'] ?? null)); +$_SESSION['oauth_return'] = null; $params = http_build_query([ 'response_type' => 'code', diff --git a/templates/login.php b/templates/login.php index 336f18c..ef804a3 100644 --- a/templates/login.php +++ b/templates/login.php @@ -21,7 +21,7 @@
- + = $tokenExpired ? 'Reconnect to FFLogs' : 'Connect to FFLogs' ?> diff --git a/templates/report-form.php b/templates/report-form.php index 9f0c275..09da893 100644 --- a/templates/report-form.php +++ b/templates/report-form.php @@ -23,7 +23,7 @@ - Reconnect + Reconnect