2024-04-19 10:27:36 +02:00

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);
}
}