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,8 +8,10 @@ class EppServer < Roda
|
|||
|
||||
r.on "session" do
|
||||
r.get "hello" do
|
||||
if r.cookies['session']
|
||||
render("session/hello")
|
||||
end
|
||||
end
|
||||
|
||||
r.post "login" do
|
||||
render("session/login")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue