Most likely you’re in redirect loop since controller with login screen is not 
excluded from ‘login_required_filter’.




There are few ways to avoid that:

Option a: reuse my code

1. Separate login screen and all public pages from password protected pages (as 
it’s done in r2d2)

2. make sure controller with public pages is in `login_excempt` list of 
boss.config like:

  `{login_excempt, [r2d2_public_controller]},`

3. don’t forget to restart, since config changes aren’t auto reloaded.




Option b: extend login_required_filter to your needs.




-Nick

On Sun, Nov 9, 2014 at 12:43 AM, ENTR0PY <[email protected]> wrote:

> ok, adjusted my application to match r2d2 as much as possible , i am now 
> getting 
> The page isn't redirecting properly errors in Firefox and chrome.
> not sure where i went wrong..
> On Wednesday, November 5, 2014 10:06:17 PM UTC-4, ENTR0PY wrote:
>>
>> Where can i get a clear and complete example / tutorial on how to use 
>> before filter for logins? 
>>
>> Thanks !!!!
>>
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "ChicagoBoss" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/chicagoboss/gwgEOg1HY6g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/chicagoboss/858ea984-aa0c-439a-8a9d-859056b71d7b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/1415617665420.44d50b05%40Nodemailer.
For more options, visit https://groups.google.com/d/optout.

Reply via email to