mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
Don't return actual token to JS for trello
This commit is contained in:
parent
54770780e4
commit
ff1cb9036e
2 changed files with 4 additions and 2 deletions
|
@ -127,7 +127,9 @@ func (*Provider) Command(ctx *provider.Context, w http.ResponseWriter, r *http.R
|
|||
Token string `json:"token"`
|
||||
}
|
||||
ret.AppKey = config.AppKey
|
||||
ret.Token = config.Token
|
||||
if config.Token != "" {
|
||||
ret.Token = provider.SecretReplacement
|
||||
}
|
||||
provider.WriteJSON(w, ret)
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue