Skip to content
Snippets Groups Projects
Commit 23d30e1e authored by Davide Aprea's avatar Davide Aprea
Browse files

fixed setting cookie

parent 26ca361b
No related branches found
No related tags found
3 merge requests!1895Development,!1758Development,!1750Resolve "minor adjustments for key page"
...@@ -48,8 +48,9 @@ class KeyController extends Controller ...@@ -48,8 +48,9 @@ class KeyController extends Controller
$key = $cookie; $key = $cookie;
}elseif(!empty($key)){ }elseif(!empty($key)){
$key = $request->input('key'); $key = $request->input('key');
Cookie::queue('key', $key, 0, '/', null, false, false);
} }
return view('key') return view('key')
->with('title', trans('titles.key')) ->with('title', trans('titles.key'))
->with('cookie', $key); ->with('cookie', $key);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment