Ruby on Rails Tuesday, June 21, 2016

Did you find solution?

On Saturday, September 19, 2015 at 8:07:58 PM UTC-4, Ruby-Forum.com User wrote:
I have installed active admin on three different apps today and the
default login information is not working.  I keep getting Unauthorized
error message. The error is the same in my local development in
terminal, as we as Nitrous.io IDE. I check stackoverflow for a solution,
however, what they we prescribing I have tried already. I.E. Changing
the password in the console for Admin user.  Please advise if  I should
be using using different install instructions. Thanks

Started POST "/admin/login" for 50.17.182.190 at 2015-09-19 23:52:53
+0000
Cannot render console from 50.17.182.190! Allowed networks: 127.0.0.1,
::1, 127.0.0.0/127.255.255.255
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT
"schema_migrations".* FROM "schema_migrations"

Processing by ActiveAdmin::Devise::SessionsController#create as HTML
  Parameters: {"utf8"=>"✓",
"authenticity_token"=>"nwr2HyEpObNw+u5KErgjXAw+HxgXWNd2Ph8sleNC2v82CH7QmLwq/XeQc80HyL/bx3HEb1RUwcoogzsdyV/utQ==",
"admin_user"=>{"email"=>"admin@example.com
", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}
  AdminUser Load (0.2ms)  SELECT  "admin_users".* FROM "admin_users"
WHERE "admin_users"."email" = ?  ORDER BY "admin_users"."id" ASC LIMIT 1
[["email", "ad...@example.com"]]
Completed 401 Unauthorized in 21ms

Processing by ActiveAdmin::Devise::SessionsController#new as HTML
  Parameters: {"utf8"=>"✓",
"authenticity_token"=>"nwr2HyEpObNw+u5KErgjXAw+HxgXWNd2Ph8sleNC2v82CH7QmLwq/XeQc80HyL/bx3HEb1RUwcoogzsdyV/utQ==",
"admin_user"=>{"email"=>"admin@example.com
", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}

 Rendered
.bundle/bundler/gems/activeadmin-893b46c6530c/app/views/active_admin/devise/shared/_links.erb
(12.7ms)

 Rendered
.bundle/bundler/gems/activeadmin-893b46c6530c/app/views/active_admin/devise/sessions/new.html.erb
within layouts/active_admin_logged_out (63.0ms)
Completed 200 OK in 586ms (Views: 481.7ms | ActiveRecord: 0.0ms)

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/88153431-4824-4c69-91de-3f4040a719c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment