mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: hide experiment CTA from OIDC copy (#8695)
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user