SSO: Fix error on user creation through CAS without email -refs BT#19253

pull/4019/head
NicoDucou 5 years ago
parent 7738ce5748
commit 5cbdff116f
  1. 3
      main/auth/external_login/functions.inc.php

@ -105,6 +105,9 @@ function external_add_user($u)
if (empty($u['status'])) {
$u['status'] = 5;
}
if (!isset($u['email'])) {
$u['email'] = '';
}
if (!isset($u['official_code'])) {
$u['official_code'] = '';
}

Loading…
Cancel
Save