3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-09 21:15:36 +00:00
Files
snipe-it/app/Models/SCIMUser.php
2023-07-19 17:44:40 +01:00

15 lines
351 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 = []) {
parent::__construct($attributes);
$this->noPassword();
}
}