lib/osso/helpers/auth.rb in osso-0.0.5.pre.zeta vs lib/osso/helpers/auth.rb in osso-0.0.5

- old
+ new

@@ -64,10 +64,10 @@ rescue JWT::DecodeError false end def token - request.env['admin_token'] || session['admin_token'] || request['admin_token'] + session['admin_token'] || request.env['HTTP_AUTHORIZATION'] || request.params['admin_token'] end def chomp_token return unless request['admin_token'].present?