Explorar el Código

Set domain on the cookie

master
Fen Dweller hace 6 años
padre
commit
90a0c950d3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app.py

+ 1
- 1
app.py Ver fichero

@@ -29,7 +29,7 @@ def accept():
url = "/"

res = redirect(url, 307)
res.set_cookie("agegate", "true", time() + 60*60*24*365)
res.set_cookie("agegate", "true", time() + 60*60*24*365, domain="crux.sexy")
return res

if __name__ == "__main__":


Cargando…
Cancelar
Guardar