mirror of
https://codeberg.org/pronounscc/pronouns.cc.git
synced 2024-11-20 10:29:52 +01:00
fix: let users select the Google account to log in with every time
This commit is contained in:
parent
c13c4e90b6
commit
00abe1cb32
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ func (s *Server) oauthURLs(w http.ResponseWriter, r *http.Request) error {
|
|||
if googleOAuthConfig.ClientID != "" {
|
||||
googleCfg := googleOAuthConfig
|
||||
googleCfg.RedirectURL = req.CallbackDomain + "/auth/login/google"
|
||||
resp.Google = googleCfg.AuthCodeURL(state)
|
||||
resp.Google = googleCfg.AuthCodeURL(state) + "&prompt=select_account"
|
||||
}
|
||||
|
||||
render.JSON(w, r, resp)
|
||||
|
|
Loading…
Reference in a new issue