UserEngine Infinite Loop


#1

I have had LoginEngine working like a champ. So I decided to install
UserEngine. When I go to http://localhost:3000/user/login it keeps on
trying to redirect to /user/login until Firefox decides to stop trying.
Here is my log:

127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] “GET
/user/login HTTP/1.1” 302 98

  • -> /user/login
    127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] “GET
    /user/login HTTP/1.1” 302 98
  • -> /user/login
    127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] “GET
    /user/login HTTP/1.1” 302 98
  • -> /user/login

Any ideas? If I comment out references to the UserEngine in
application.rb and environment.rb then things work like they did before
I installed LoginEngine.

THanks, scott.


#2

Did you follow the installation instructions for the user engine? Most
significantly you need to run “rake bootstrap” to generate the
permissions, and change the before_filter from :login_required to
:authorize_action. My guess is that you’re simply not authorized to
perform /user/login.

On 2/6/06, Scott W. removed_email_address@domain.invalid wrote:

  • -> /user/login


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


engine-users mailing list
removed_email_address@domain.invalid
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

  • J *
    ~

#3

I had a similar issue, which rounded out something like enabling:

config :use_email_notification, true

Try it and see if it works, if it is that, we can track it down.

-Nb

 Nathaniel S. H. Brown                           http://nshb.net