From 5010da4ddbb451f6275cfa6b8db94051108d91e5 Mon Sep 17 00:00:00 2001
From: xziino
Date: Fri, 22 May 2026 11:20:17 +0200
Subject: [PATCH] Fix: auth_start_href() durch direkte Links auf auth/start.php
ersetzen
Co-Authored-By: Claude Sonnet 4.6
---
auth/start.php | 2 +-
templates/login.php | 2 +-
templates/report-form.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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