diff --git a/app/Http/Requests/User/Store.php b/app/Http/Requests/User/Store.php index 923bb847d..db68c5fae 100644 --- a/app/Http/Requests/User/Store.php +++ b/app/Http/Requests/User/Store.php @@ -72,7 +72,7 @@ public function rules(): array 'email' => 'required|email|max:255', 'authorisedMobile' => 'nullable|string|max:50', 'custid' => 'required|integer|exists:cust,id', - 'privs' => 'required|integer|in:' . implode( ',', array_keys( User::$PRIVILEGES_ALL ) ), + 'privs' => 'required|integer|in:' . implode( ',', array_keys( User::$PRIVILEGES ) ), ]; }