ENV variables renamed for clarity

This commit is contained in:
Christoph Haas 2021-02-28 02:03:49 +01:00
parent afa90e3927
commit e9eb680aed

View file

@ -298,8 +298,8 @@ Devise.setup do |config|
port: 443,
scheme: "https",
host: "salsa.debian.org",
identifier: ENV['GITLAB_OAUTH_KEY'],
secret: ENV['GITLAB_OAUTH_SECRET'],
identifier: ENV['SALSA_OAUTH_KEY'],
secret: ENV['SALSA_OAUTH_SECRET'],
#redirect_uri: "http://localhost:3000/users/auth/salsa/callback",
redirect_uri: "#{Rails.configuration.base_url}/users/auth/salsa/callback",
ssl: { ca_path: '/etc/ssl/certs'}