Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
23d30e1e
Commit
23d30e1e
authored
Nov 10, 2020
by
Davide Aprea
Browse files
fixed setting cookie
parent
26ca361b
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/KeyController.php
View file @
23d30e1e
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment