12-19-2016, 04:37 AM
I'm trying to do a conditional redirect after the user logs in. Essentially, if the page that referred the user to the login form is private, redirect them there after logging in. If they were referred from somewhere else, redirect them to the main account screen. But I haven't found in the documentation the method for determining whether or not a page is private. Any suggestions?