Skip to content

Commit

Permalink
Show urls split by new line
Browse files Browse the repository at this point in the history
  • Loading branch information
Hudell committed Jul 20, 2019
1 parent 0bbc948 commit 86e4ffa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/oauth2-server-config/client/admin/views/oauthApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Template.oauthApp.helpers({
if (data) {
data.authorization_url = Meteor.absoluteUrl('oauth/authorize');
data.access_token_url = Meteor.absoluteUrl('oauth/token');
if (Array.isArray(data.redirectUri)) {
data.redirectUri = data.redirectUri.join('\n');
}

Template.instance().record.set(data);
return data;
}
Expand Down

0 comments on commit 86e4ffa

Please sign in to comment.