mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Use $attributes array
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
18ff810d7e
commit
dcae5503c8
|
@ -9,8 +9,7 @@ class SCIMUser extends User
|
|||
protected $throwValidationExceptions = true; // we want model-level validation to fully THROW, not just return false
|
||||
|
||||
public function __construct(array $attributes = []) {
|
||||
$this->noPassword();
|
||||
$attributes['password'] = $this->noPassword();
|
||||
parent::__construct($attributes);
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue