mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
This reverts commit adbabe4e09.
This commit is contained in:
+1
-1
@@ -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