mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 03:20:17 +00:00
Tweak "account already attached" verbiage
This commit is contained in:
parent
b25e80bb1b
commit
d7d4cd907e
1 changed files with 1 additions and 1 deletions
2
oauth.go
2
oauth.go
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue