mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-03-14 20:39:44 +01:00
Format code
This commit is contained in:
parent
8a1494541b
commit
13b858a99e
@ -12,7 +12,9 @@ class AuthController extends Controller {
|
|||||||
if (Auth::attempt(Input::only(['email', 'password']))) {
|
if (Auth::attempt(Input::only(['email', 'password']))) {
|
||||||
return Redirect::intended('dashboard');
|
return Redirect::intended('dashboard');
|
||||||
} else {
|
} else {
|
||||||
return Redirect::back()->withInput(Input::except('password'))->with('error', 'Invalid email or password');
|
return Redirect::back()
|
||||||
|
->withInput(Input::except('password'))
|
||||||
|
->with('error', 'Invalid email or password');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user