Commit ae983c5d3616e367cb1e639de96efc6aa15165af
1 parent
c9998be9
Exists in
staging
and in
3 other branches
before deletion test
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/noosfero/api/helpers.rb
@@ -22,6 +22,7 @@ require 'grape' | @@ -22,6 +22,7 @@ require 'grape' | ||
22 | end | 22 | end |
23 | 23 | ||
24 | def current_tmp_user | 24 | def current_tmp_user |
25 | + binding.pry | ||
25 | private_token = (params[PRIVATE_TOKEN_PARAM] || headers['Private-Token']).to_s | 26 | private_token = (params[PRIVATE_TOKEN_PARAM] || headers['Private-Token']).to_s |
26 | ## Get the "captcha" session store | 27 | ## Get the "captcha" session store |
27 | @current_tmp_user = Noosfero::API::SessionStore.get("captcha##{private_token}") | 28 | @current_tmp_user = Noosfero::API::SessionStore.get("captcha##{private_token}") |