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