mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
16 lines
414 B
PHP
16 lines
414 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'] = "*NO PASSWORD*";
|
||
|
// $attributes['activated'] = 1;
|
||
|
parent::__construct($attributes);
|
||
|
}
|
||
|
}
|