The Login controller, on a successful login, will redirect to the location
in $c->{flash}->{next}, if it is set. (Basically, if the user visits a page
that requires a login, he is redirected to the login page, and then is
redirected back to the original page.)

As far as I can tell, it works alright.

I am unsure how to test this using Catalyst::Test, though.

How can I set the "next" variable so as to test redirection?

Thanks,
Rob

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to