fixed db migrate issue

This commit is contained in:
NeverMin 2017-09-30 16:21:16 +08:00
parent 952e648fb9
commit 572cfc8ea4

View file

@ -47,10 +47,6 @@ Rails.application.config.middleware.use OmniAuth::Builder do
}
# weibo database connect
provider :weibo_database, 'not_change_will_be_set_by_database', 'not_change_will_be_set_by_database', {
token_params: {
redirect_uri: "#{Setting.get('http_type')}://#{Setting.get('fqdn')}/auth/weibo/callback"
},
}
provider :weibo_database, 'not_change_will_be_set_by_database', 'not_change_will_be_set_by_database'
end