File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ The code below shows the implementation of the
361
361
throw new UnsupportedUserException(sprintf('Instances of "%s" are not supported.', $class));
362
362
}
363
363
364
- return $this->loadUserByUsername ($user->getUsername ());
364
+ return $this->findOneById ($user->getId ());
365
365
}
366
366
367
367
public function supportsClass($class)
@@ -449,11 +449,6 @@ returns the list of related groups::
449
449
{
450
450
return serialize(array(
451
451
$this->id,
452
- $this->username,
453
- $this->email,
454
- $this->salt,
455
- $this->password,
456
- $this->isActive,
457
452
));
458
453
}
459
454
@@ -464,11 +459,6 @@ returns the list of related groups::
464
459
{
465
460
list (
466
461
$this->id,
467
- $this->username,
468
- $this->email,
469
- $this->salt,
470
- $this->password,
471
- $this->isActive,
472
462
) = unserialize($serialized);
473
463
}
474
464
}
You can’t perform that action at this time.
0 commit comments