mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-17 04:53:48 +02:00
Ensure that session cookie is always passed in hello route
This commit is contained in:
parent
3a1f83cfdd
commit
0e46f52630
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ class EppServer < Roda
|
||||||
|
|
||||||
r.on "session" do
|
r.on "session" do
|
||||||
r.get "hello" do
|
r.get "hello" do
|
||||||
render("session/hello")
|
if r.cookies['session']
|
||||||
|
render("session/hello")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
r.post "login" do
|
r.post "login" do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue