2
Vote

ChallengeEmailSent View when Access Site Front End is off

description

I've setup a site I'm working on so that Anonymous users cannot access the site front end...accomplished by unchecking the "Access site front-end" permission for the Anonymous role. This forces the user to either Login or Register for an account, both of which work fine.

I just noticed, however, that after Registering for an account, I'm immediately returned to the Login page instead of the getting the ChallengeEmailSent page...I assume because this page is considered to be a "front end" page.

I think it might be worthwhile to allow this view (and possibly other Account views if they're locked down as well) to be seen by Anonymous users even when the "Access site front-end" permission is not enabled, just like the Login and Register views.

For your consideration...thanks.

comments

psenechal wrote Nov 21, 2013 at 2:29 AM

I added the
[AlwaysAccessible]
decoration to the ChallengeEmailSent ActionResult to resolve this.