Only show OpenID links if their keys have been set.

This commit is contained in:
Stella Rouzi 2014-06-20 20:13:56 +03:00
parent 9eeb60b5cd
commit 043ba75e81
3 changed files with 40 additions and 7 deletions

View file

@ -10,11 +10,26 @@ defaults: &defaults
# Your errbit API key
# errbit_key: '12345'
google_key: 'changeme'
google_secret: 'changeme'
# Leave the variables' names empty, unless you use the providers, in which case you need to
# register your applicaton and add the actual keys.
facebook_key: 'changeme'
facebook_secret: 'changeme'
# If you add more providers, keep the format of the variables: provider_key, provider_secret
# Register your appllication with Google from https://code.google.com/apis/console#:access
google_key: ''
google_secret: ''
# Register your application with Facebook from https://developers.facebook.com/
facebook_key: ''
facebook_secret: ''
# Developers do not need to register their application for novell account to work.
# You must, however, leave the sample data there, for the login option to appear.
novell_key: 'sample data'
novell_secret: 'sample data'
# If you add more providers that do not require a key, you still have to create the 2 variables with sample data
development:
<<: *defaults