X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c55d346d5f7501fd6f5f636e85c8a60ec67d88ee..69122afe78a411d17188a6b276c04d2f1739599b:/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