3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-04-02 22:11:01 +00:00
Files
snipe-it/app/Models/SCIMUser.php
2026-03-13 15:55:28 +00:00

17 lines
382 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);
}
}