fixes
This commit is contained in:
@@ -24,11 +24,13 @@ class RegisterController extends Controller
|
||||
$user = $this->create($request->all());
|
||||
|
||||
$this->guard()->login($user);
|
||||
/*
|
||||
$response = $this->registered($request, $user);
|
||||
|
||||
if ($response) {
|
||||
return $response;
|
||||
}
|
||||
*/
|
||||
|
||||
return $request->wantsJson()
|
||||
? new JsonResponse([], 201)
|
||||
|
||||
@@ -14,7 +14,7 @@ class StoreArticlePost extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'ref' => 'required|unique:shop_articles,ref,'.$this->id,
|
||||
'ref' => 'required|unique:shop_articles',
|
||||
'product_type' => 'required',
|
||||
'product_id' => 'required',
|
||||
'article_nature_id' => 'required',
|
||||
|
||||
Reference in New Issue
Block a user