1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00

Don't return actual token to JS for trello

This commit is contained in:
Elliott Stoneham 2016-07-08 15:29:01 +01:00
parent 54770780e4
commit ff1cb9036e
2 changed files with 4 additions and 2 deletions

View file

@ -59,7 +59,7 @@ export default Ember.Component.extend(SectionMixin, NotifierMixin, TooltipMixin,
this.get('sectionService').fetch(page, "config", {})
.then(function (s) {
self.set('appKey', s.appKey);
self.set('config.token', s.token); // the user's own token, drawn from the DB
self.set('config.token', s.token); // the user's own token has been stored in the DB
// On auth callback capture user token
let hashToken = window.location.hash;