onUnauthorized for locking a user to a certain page

26 views
Skip to first unread message

Guy

unread,
Oct 7, 2016, 10:46:23 AM10/7/16
to SecureSocial
I'm looking for a way to force users to only be served a certain page like if they have to accept terms of service... Currently a user could click away or edit the url.

With authorization is it possible to customize a Redirect if the isAuthorized fails?

Or is there another way to do what I need?

Cheers!

Guy

unread,
Oct 26, 2016, 12:28:39 PM10/26/16
to SecureSocial
I've just done all the controllers affected for now, could make a custom SecuredAction or something like deadbolts onAuthFailure.
Reply all
Reply to author
Forward
0 new messages