Skip to content

Commit

Permalink
Set user locale after inscription - refs BT#21596
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Apr 28, 2024
1 parent fbb7046 commit 2cccd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/main/auth/inscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@
];

$sessionHandler->set('_user', $userData);

$sessionHandler->set('_locale_user', $userEntity->getLocale());
$is_allowedCreateCourse = isset($values['status']) && 1 == $values['status'];
$sessionHandler->set('is_allowedCreateCourse', $is_allowedCreateCourse);

Expand Down

0 comments on commit 2cccd8d

Please sign in to comment.