X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a566589c1becb18ad2d12623d0ff240ea279d8e6..d770636f90f406eec64c4130b1e54308444d3f69:/app/views/site/id.html.erb?ds=sidebyside 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