FuturShoc Posted January 10, 2016 Share Posted January 10, 2016 I'm building a custom application which will live inside ProcessWire. I'd like to use another framework to build the app, but I don't want to force the user to login twice (first with PW, then a second time for the custom application) So, I need to be able to run some code right after a user logs into PW using the standard admin login form. (NOT a custom login form) Is this possible? I guess I'm asking if there is a login hook. Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted January 10, 2016 Share Posted January 10, 2016 You can look here (search for ProcessLogin). I think afterLoginRedirect() can be the one that will suit your needs. Link to comment Share on other sites More sharing options...
horst Posted January 10, 2016 Share Posted January 10, 2016 look here: https://processwire.com/talk/topic/11842-change-timezone-per-user-in-admin/#entry110099 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now