mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
This reverts commit adbabe4e09
.
This commit is contained in:
@ -1673,7 +1673,7 @@ func clearOAuthConvertCookie() *http.Cookie {
|
||||
func wrongLoginTypeHTTPError(user database.LoginType, params database.LoginType) httpError {
|
||||
addedMsg := ""
|
||||
if user == database.LoginTypePassword {
|
||||
addedMsg = " Try logging in with your password."
|
||||
addedMsg = " You can convert your account to use this login type by visiting your account settings."
|
||||
}
|
||||
return httpError{
|
||||
code: http.StatusForbidden,
|
||||
|
Reference in New Issue
Block a user