Compare commits
No commits in common. "18c9b008ee7fe6d4219942238e7aaa1d74664c6b" and "109f7e80d33dbe065d88061de920a4fc64d6ffdb" have entirely different histories.
18c9b008ee
...
109f7e80d3
@ -67,6 +67,7 @@ class SecurityController extends AbstractController
|
|||||||
$attributes = \phpCAS::getAttributes();
|
$attributes = \phpCAS::getAttributes();
|
||||||
|
|
||||||
// Init
|
// Init
|
||||||
|
$username = "";
|
||||||
$email = "";
|
$email = "";
|
||||||
$lastname = "";
|
$lastname = "";
|
||||||
$firstname = "";
|
$firstname = "";
|
||||||
@ -92,8 +93,6 @@ class SecurityController extends AbstractController
|
|||||||
$exists = $user ? true : false;
|
$exists = $user ? true : false;
|
||||||
|
|
||||||
if (!$exists) {
|
if (!$exists) {
|
||||||
if(empty($email)) $email = $username."@nomail.com";
|
|
||||||
|
|
||||||
$user = new User();
|
$user = new User();
|
||||||
$key = Uuid::uuid4();
|
$key = Uuid::uuid4();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user