Forgoten debug log message

This commit is contained in:
karel.picman@lbcfree.net 2021-05-06 10:57:23 +02:00
parent d19586a8d8
commit 14170ab337

View File

@ -479,7 +479,6 @@ module RedmineDmsf
return super(token)
end
if token.nil? || token.empty? || (token == '<(null)>') || User.current.anonymous?
Rails.logger.info ">>> bad token 2: #{token}"
BadRequest
else
if token =~ /([a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12})/