|
@@ -1157,7 +1157,7 @@ func userInviteVerify(w http.ResponseWriter, r *http.Request) {
|
|
logic.ReturnErrorResponse(w, r, logic.FormatError(err, "internal"))
|
|
logic.ReturnErrorResponse(w, r, logic.FormatError(err, "internal"))
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- http.Redirect(w, r, fmt.Sprintf("%s/login?email=%s&code=%s", servercfg.GetFrontendURL(), email, code), http.StatusPermanentRedirect)
|
|
|
|
|
|
+ http.Redirect(w, r, fmt.Sprintf("%s/login?email=%s&code=%s", servercfg.GetFrontendURL(), email, code), http.StatusTemporaryRedirect)
|
|
}
|
|
}
|
|
|
|
|
|
// swagger:route POST /api/v1/users/invite user inviteUsers
|
|
// swagger:route POST /api/v1/users/invite user inviteUsers
|