Merge pull request #2737 from jespino/smallfix
Removing duplicated logic
This commit is contained in:
commit
286f7f0663
1 changed files with 0 additions and 4 deletions
|
@ -1574,10 +1574,6 @@ func (a *API) handlePostTeamRegenerateSignupToken(w http.ResponseWriter, r *http
|
|||
// "$ref": "#/definitions/ErrorResponse"
|
||||
if a.MattermostAuth {
|
||||
a.errorResponse(w, r.URL.Path, http.StatusNotImplemented, "not permitted in plugin mode", nil)
|
||||
}
|
||||
|
||||
if a.MattermostAuth {
|
||||
a.errorResponse(w, r.URL.Path, http.StatusNotImplemented, "", nil)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue