diff options
Diffstat (limited to '')
-rw-r--r-- | index.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -46,6 +46,7 @@ func handleIndex(w http.ResponseWriter, req *http.Request) { "index_login", map[string]string{ "authURL": authURL, + "source": config.Source, /* * We directly generate the login URL here * instead of doing so in a redirect to save @@ -82,6 +83,7 @@ func handleIndex(w http.ResponseWriter, req *http.Request) { map[string]interface{}{ "authURL": authURL, "notes": "You sent an invalid session cookie.", + "source": config.Source, }, ) if err != nil { @@ -104,6 +106,7 @@ func handleIndex(w http.ResponseWriter, req *http.Request) { "Department": userDepartment, }, "courses": courses, + "source": config.Source, }, ) if err != nil { |