Commit 23d30e1e authored by Davide Aprea's avatar Davide Aprea
Browse files

fixed setting cookie

parent 26ca361b
......@@ -48,8 +48,9 @@ class KeyController extends Controller
$key = $cookie;
}elseif(!empty($key)){
$key = $request->input('key');
Cookie::queue('key', $key, 0, '/', null, false, false);
}
return view('key')
->with('title', trans('titles.key'))
->with('cookie', $key);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment