Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Commit

Permalink
read correct config scope
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow committed Sep 29, 2014
1 parent 6ee7fbb commit 6b989e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/initializers/simple-auth-oauth2.js
Expand Up @@ -7,7 +7,7 @@ export default {
name: 'simple-auth-oauth2',
before: 'simple-auth',
initialize: function(container, application) {
Configuration.load(container, ENV);
Configuration.load(container, ENV['simple-auth-oauth2'] || {});
container.register('simple-auth-authorizer:oauth2-bearer', Authorizer);
container.register('simple-auth-authenticator:oauth2-password-grant', Authenticator);
}
Expand Down

0 comments on commit 6b989e9

Please sign in to comment.