X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a373f2ab8a1235def98ba8f4129461f1ae339b6e..cb6d6c246332ffe3230df31f3acc1ed82e2b80ce:/app/views/site/_potlatch2.html.erb diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index 57a45f2ab..760927a82 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -4,17 +4,21 @@ <%= javascript_include_tag 'swfobject.js' %> +<% if defined? POTLATCH2_KEY %> <% token = @user.access_token(POTLATCH2_KEY) %> +<% else%> + +<% end %>