forked from .cyb/cyberman
HTTP only cookies
This commit is contained in:
parent
13447382a2
commit
c0ba0c5c7b
|
@ -184,8 +184,8 @@ post '/login' => sub {
|
|||
},
|
||||
);
|
||||
|
||||
cookie id => $user->{"id"};
|
||||
cookie token => $token;
|
||||
cookie id => $user->{"id"}, http_only => 1;
|
||||
cookie token => $token, http_only => 1;
|
||||
|
||||
template 'redir' => {
|
||||
"redir" => "domains",
|
||||
|
|
Loading…
Reference in New Issue