mirror of https://github.com/coder/coder.git
This reverts commit adbabe4e09
.
This commit is contained in:
parent
9941f49056
commit
1730d35467
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue