Fix error while updating user

This commit is contained in:
Dane Everitt 2020-06-25 21:42:21 -07:00
parent f0e3f0e474
commit 8fb21a5048
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 8 additions and 27 deletions

View file

@ -164,7 +164,7 @@ class User extends Model implements
'name_last' => 'required|string|between:1,255',
'password' => 'sometimes|nullable|string',
'root_admin' => 'boolean',
'language' => 'required|string',
'language' => 'string',
'use_totp' => 'boolean',
'totp_secret' => 'nullable|string',
];