aboutsummaryrefslogtreecommitdiff
path: root/private/session.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-06-08 15:40:53 +0200
committerMinteck <contact@minteck.org>2022-06-08 15:40:53 +0200
commit33aa95dadac2747fdda7b00f1651cbf2ecd09ab7 (patch)
treebe8055afb2230678336fe770a903115703fb54d4 /private/session.php
parent544bf38fd99d9b7e4d0dfcf14e23b459ed8557f2 (diff)
downloadcore-33aa95dadac2747fdda7b00f1651cbf2ecd09ab7.tar.gz
core-33aa95dadac2747fdda7b00f1651cbf2ecd09ab7.tar.bz2
core-33aa95dadac2747fdda7b00f1651cbf2ecd09ab7.zip
Fix 2
Diffstat (limited to 'private/session.php')
-rw-r--r--private/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/private/session.php b/private/session.php
index e9a2370..bea80ed 100644
--- a/private/session.php
+++ b/private/session.php
@@ -26,7 +26,7 @@ if (isset($_COOKIE['FL_SESSION_TOKEN'])) {
$_USER = $_PROFILE['login'];
$_SUID = $_PROFILE['login'];
$_FULLNAME = $_PROFILE['name'];
- $_FRENCH = $_PROFILE['locale']['name'] === "fr";
+ $_FRENCH = $_PROFILE['profile']['locale']['name'] === "fr";
if (!in_array($_USER, $_WELCOMED)) {
header("Location: /welcome/?r=" . urlencode("https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"));