mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
dcae5503c8
Signed-off-by: snipe <snipe@snipe.net>
15 lines
377 B
PHP
15 lines
377 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class SCIMUser extends User
|
|
{
|
|
protected $table = 'users';
|
|
|
|
protected $throwValidationExceptions = true; // we want model-level validation to fully THROW, not just return false
|
|
|
|
public function __construct(array $attributes = []) {
|
|
$attributes['password'] = $this->noPassword();
|
|
parent::__construct($attributes);
|
|
}
|
|
} |