Created
July 19, 2012 03:12
-
-
Save e30chris/3140518 to your computer and use it in GitHub Desktop.
chris login error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started POST "/login/login" for 216.36.113.246 at 2012-07-19 03:11:46 +0000 | |
Processing by LoginController#login as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ax1A9APK3MLxxwEnWByh6IHwEqQdqxyTfoU92VwDB7Q=", "username"=>"chris", "password"=>"[FILTERED]", "commit"=>"Login"} | |
\n\n/user/login | |
\n\n--------------------\n Requesting: POST ipa.hostelhub.me /api/user/login {"username"=>"chris", "password"=>"kirklandsnowcones"} json | |
\nresponse: 200 {"sessid"=>"PJy3XyBp_l7HTXV1zWnAvkN7UaY6XuoUYxi4n1SuhfE", "session_name"=>"SESS32a831bc13ee4bdfe4ca6310c283b894", "user"=>{"uid"=>"7876", "name"=>"chris", "mail"=>"chris_a5338559a0dac4c6fe750d82d832163f@example.com", "theme"=>"", "signature"=>"", "signature_format"=>"filtered_html", "created"=>"1342035556", "access"=>"1342667438", "login"=>1342667506, "status"=>"1", "timezone"=>"America/Los_Angeles", "language"=>"", "picture"=>nil, "init"=>"chris_a5338559a0dac4c6fe750d82d832163f@example.com", "data"=>false, "uuid"=>"ae59bd41-ef58-27a4-6905-6bbfe453ee3c", "roles"=>{"2"=>"authenticated user", "3"=>"administrator"}, "field_user_name"=>{"und"=>[{"value"=>"Chris", "format"=>nil, "safe_value"=>"Chris"}]}, "field_user_gender"=>[], "field_user_identification"=>[], "field_user_notes"=>[], "field_user_sms"=>[]}, "auth_token"=>"VUTQaDhziEj5hfPLsmvfbn3o3YsW5aRj"}\n--------------------\n\n | |
Redirected to http://kiltlifter.hostelhub.me/ | |
Completed 302 Found in 339ms (ActiveRecord: 0.0ms) | |
Started GET "/" for 216.36.113.246 at 2012-07-19 03:11:47 +0000 | |
Processing by HubController#index as HTML | |
\n\n/user?parameters[uid]=7876 | |
\n\n--------------------\n Requesting: GET ipa.hostelhub.me /api/user?parameters[uid]=7876&auth_token=VUTQaDhziEj5hfPLsmvfbn3o3YsW5aRj {} json | |
\nresponse: 401 "This user may not perform user::operations::index."\n--------------------\n\n | |
Completed 500 Internal Server Error in 279ms | |
Exceptions::APIError (Unauthorized: This user may not perform user::operations::index.): | |
app/helpers/http_helper.rb:53:in `check' | |
app/helpers/http_helper.rb:33:in `request' | |
app/helpers/http_helper.rb:149:in `get' | |
app/controllers/application_controller.rb:8:in `get' | |
app/controllers/application_controller.rb:111:in `fetch_token' | |
Rendered /home/ec2-user/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms) | |
Rendered /home/ec2-user/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) | |
Rendered /home/ec2-user/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.3ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment