Skip to content

Commit

Permalink
Fix path location of credentials file
Browse files Browse the repository at this point in the history
  • Loading branch information
zdyn committed Mar 28, 2015
1 parent f6aa452 commit 7a791c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion config/google-oauth2-credentials.json

This file was deleted.

2 changes: 1 addition & 1 deletion lib/oauth2_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
IDENTITY_ENDPOINT = "https://www.googleapis.com/oauth2/v2/userinfo"

credentials_filename = File.expand_path(File.join(File.dirname(__FILE__),
"../../config/google-oauth2-credentials.json"))
"../config/google-oauth2-credentials.json"))
CREDENTIALS = (File.exist?(credentials_filename) ? JSON.parse(File.read(credentials_filename)) : nil)

module OAuth2Provider
Expand Down

0 comments on commit 7a791c8

Please sign in to comment.