X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..1d09cfcb18d589ea494bf5223f2eb9e0a773d7c6:/app/models/client_application.rb diff --git a/app/models/client_application.rb b/app/models/client_application.rb index 5dafaaa5c..ae95e2908 100644 --- a/app/models/client_application.rb +++ b/app/models/client_application.rb @@ -67,7 +67,7 @@ class ClientApplication < ActiveRecord::Base end def oauth_server - @oauth_server ||= OAuth::Server.new("https://" + SERVER_URL) + @oauth_server ||= OAuth::Server.new("https://" + Settings.server_url) end def credentials