mirror of
https://github.com/wahyd4/libr-2.git
synced 2026-08-09 05:15:53 +10:00
#28 Add devise secure key
This commit is contained in:
@@ -264,7 +264,7 @@ Devise.setup do |config|
|
||||
# When using OmniAuth, Devise cannot automatically set OmniAuth path,
|
||||
# so you need to do it manually. For the users scope, it would be:
|
||||
# config.omniauth_path_prefix = '/my_engine/users/auth'
|
||||
|
||||
config.secret_key = 'c89aa8ac3d310ef10ab166705620f3acb80f5fc5d04041981db73fd0cca60efd3c3cb497bd489cbe31d345a9503c20d6d930c5958f20f38417944c467f978f27'
|
||||
if Rails.env.production?
|
||||
config.omniauth :weibo, '1154990879', '6b901a95751bf222fbe5c51451da5078', :scope => 'user,public_repo'
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user