v0.5.17 - Fixed bugs
This commit is contained in:
@@ -207,11 +207,11 @@ class UserController extends Controller
|
||||
$data = $request->only("email", "password");
|
||||
|
||||
if(Auth::attempt($data)) {
|
||||
//TODO: Implement home?
|
||||
|
||||
return redirect()->route("root.index");
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (request()->cookie('languagesSetting') == "dk")
|
||||
return redirect()->back(303)->with('error#wrongcredentials', '<p class="text-center text-white"><b>Email eller Password matchede ikke!</b></p>');
|
||||
if (request()->cookie('languagesSetting') == "en")
|
||||
|
||||
Reference in New Issue
Block a user