oficina / home Public

Clone
git clone https://amadan.net/oficina/home

Plain git — no account needed to clone.

Download

Download this file

1package home
2
3import "net/http"
4
5// renderContinuation ends the submitted form response before external navigation.
6// Callers supply a validated app destination or the sign-in flow's provider URL.
7func (a *App) renderContinuation(w http.ResponseWriter, r *http.Request, destination, title string) {
8 w.Header().Set("Cache-Control", "no-store")
9 w.Header().Set("Referrer-Policy", "no-referrer")
10 a.render(w, r, http.StatusOK, "docs_continue.html", struct{ Destination, Title string }{destination, title})
11}
12