fix (ios): auth issue on ios

when using deep links on ios, we would get this error:
"safari can't open the page because the address is invalid"
This commit is contained in:
MickaelK
2025-03-11 10:44:53 +11:00
parent 3c969bd89d
commit 40e9938148

View File

@ -478,7 +478,7 @@ func SessionAuthMiddleware(ctx *App, res http.ResponseWriter, req *http.Request)
if Config.Get("features.protection.iframe").String() != "" {
redirectURI += "#bearer=" + obfuscate
}
http.Redirect(res, req, redirectURI, http.StatusTemporaryRedirect)
http.Redirect(res, req, redirectURI, http.StatusSeeOther)
}
func applyCookieRules(cookie *http.Cookie, req *http.Request) *http.Cookie {