fix: hide experiment CTA from OIDC copy (#8695)

This commit is contained in:
Ben Potter
2023-07-24 14:51:28 -05:00
committed by GitHub
parent ac559f101e
commit adbabe4e09
+1 -1
View File
@@ -1631,7 +1631,7 @@ func clearOAuthConvertCookie() *http.Cookie {
func wrongLoginTypeHTTPError(user database.LoginType, params database.LoginType) httpError {
addedMsg := ""
if user == database.LoginTypePassword {
addedMsg = " You can convert your account to use this login type by visiting your account settings."
addedMsg = " Try logging in with your password."
}
return httpError{
code: http.StatusForbidden,