]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/id.html.erb
Merge remote-tracking branch 'upstream/pull/5410'
[rails.git] / app / views / site / id.html.erb
index 63792ab5a5aac6f6a344ab7cafb9fc9b1641f3fa..64cb4fd58e84be24042079846fb0364899454b72 100644 (file)
@@ -9,8 +9,8 @@
 </head>
 <body>
 <% 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