Permalink
Browse files

Fixed wrong base64_encode function being used in auth.php.

  • Loading branch information...
flashwave committed Feb 12, 2019
1 parent 4e451dd commit b777b49eaa847d5dc377b52fdb828f474a6857ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/auth.php
@@ -259,7 +259,7 @@
user_session_start($userData['user_id'], $sessionKey);
$cookieLife = strtotime(user_session_current('session_expires'));
$cookieValue = base64_encode(user_session_cookie_pack($userData['user_id'], $sessionKey));
$cookieValue = base64url_encode(user_session_cookie_pack($userData['user_id'], $sessionKey));
setcookie('msz_auth', $cookieValue, $cookieLife, '/', '', true, true);
if (!is_local_url($authRedirect)) {

0 comments on commit b777b49

Please sign in to comment.