mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Make site name required at the model
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c57f1f9d7d
commit
9527aac242
|
@ -49,6 +49,7 @@ class Setting extends Model
|
|||
* @var array
|
||||
*/
|
||||
protected $rules = [
|
||||
'site_name' => 'required',
|
||||
'brand' => 'required|min:1|numeric',
|
||||
'qr_text' => 'max:31|nullable',
|
||||
'alert_email' => 'email_array|nullable',
|
||||
|
|
Loading…
Reference in a new issue