fixing styles
This commit is contained in:
@@ -33,7 +33,7 @@ class LoginController extends Controller
|
||||
if ($this->guard()->attempt($credentials, $request->get('remember'))) {
|
||||
$request->session()->regenerate();
|
||||
|
||||
return (back()->getTargetUrl() === route('Shop.login')) ? redirect()->intended(route('home')) : back();
|
||||
return back()->getTargetUrl() === route('Shop.login') ? redirect()->intended(route('home')) : back();
|
||||
}
|
||||
|
||||
return back()->withErrors([
|
||||
@@ -59,5 +59,4 @@ class LoginController extends Controller
|
||||
{
|
||||
return Auth::guard('customer');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -31,8 +31,8 @@ class RegisterController extends Controller
|
||||
}
|
||||
|
||||
return $request->wantsJson()
|
||||
? new JsonResponse([], 201)
|
||||
: redirect($this->redirectPath());
|
||||
? new JsonResponse([], 201)
|
||||
: redirect($this->redirectPath());
|
||||
}
|
||||
|
||||
public function emailVerify()
|
||||
@@ -75,5 +75,4 @@ class RegisterController extends Controller
|
||||
{
|
||||
return route(config('boilerplate.app.redirectTo', 'boilerplate.dashboard'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user