|
@@ -20,7 +20,7 @@ |
|
|
block discarded – undo |
|
20
|
20
|
|
|
21
|
21
|
public function login(Request $request) |
|
22
|
22
|
{ |
|
23
|
|
- session(['laralang.password' => Crypt::encrypt($request->input('password'))]); |
|
|
23
|
+ session([ 'laralang.password' => Crypt::encrypt($request->input('password')) ]); |
|
24
|
24
|
if (Crypt::decrypt(session('laralang.password')) != config('laralang.default.password')) { |
|
25
|
25
|
return redirect(Route('laralang::login')) |
|
26
|
26
|
->with('status', 'Invalid password'); |
Please login to merge, or discard this patch.