Redirect to the main page after signup
This commit is contained in:
parent
334deb1ae7
commit
e311464b51
1 changed files with 1 additions and 2 deletions
|
|
@ -54,6 +54,5 @@ func postSignup(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.Write([]byte("Form received"))
|
||||
http.Redirect(w, r, "/", http.StatusFound)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue