X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cd66a5db99fda4920ed559ec71163d5d01ba1f4a..54a5d04782b5a33f3b402d42f6c26a84caa3e1c6:/app/views/site/_potlatch.html.erb diff --git a/app/views/site/_potlatch.html.erb b/app/views/site/_potlatch.html.erb index c255cef91..c4df0021f 100644 --- a/app/views/site/_potlatch.html.erb +++ b/app/views/site/_potlatch.html.erb @@ -1,12 +1,13 @@
- <%= t 'site.edit.flash_player_required' %> +
<%= raw t 'site.edit.flash_player_required' %>
<%= javascript_include_tag 'swfobject.js' %> + +<% session[:token] = @user.tokens.create.token unless session[:token] and UserToken.find_by_token(session[:token]) %> +