Procházet zdrojové kódy

Tweak "account already attached" verbiage

pull/243/head
Matt Baer před 4 roky
rodič
revize
d7d4cd907e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      oauth.go

+ 1
- 1
oauth.go Zobrazit soubor

@@ -255,7 +255,7 @@ func (h oauthHandler) viewOauthCallback(app *App, w http.ResponseWriter, r *http
}

if localUserID != -1 && attachUserID > 0 {
if err = addSessionFlash(app, w, r, "Slack account is already attached to a user.", nil); err != nil {
if err = addSessionFlash(app, w, r, "This Slack account is already attached to another user.", nil); err != nil {
return impart.HTTPError{Status: http.StatusInternalServerError, Message: err.Error()}
}
return impart.HTTPError{http.StatusFound, "/me/settings"}


Načítá se…
Zrušit
Uložit