X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a566589c1becb18ad2d12623d0ff240ea279d8e6..0dc04efef698b54da1357f9a41a6dc6c9b260075:/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