X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a566589c1becb18ad2d12623d0ff240ea279d8e6..51f331e8cccbd20f06f5de1d7f2b043da327fd0a:/app/views/site/id.html.erb diff --git a/app/views/site/id.html.erb b/app/views/site/id.html.erb index 63792ab5a..64cb4fd58 100644 --- a/app/views/site/id.html.erb +++ b/app/views/site/id.html.erb @@ -9,8 +9,8 @@ <% data = {} - if Settings.key?(:id_oauth_application) - token = current_user.oauth_token(Settings.id_oauth_application) + if Settings.key?(:id_application) + token = current_user.oauth_token(Settings.id_application) data[:token] = token.token end data[:locale] = ID::LOCALES.preferred(preferred_languages).to_s