We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There exists hooks for after a user registers and also after they logout. However, there is currently no hook for after they successfully login.
I suggest a new hook, perhaps called after_login, that runs immediately after the login is successful.
Perhaps place it in the file, login.php, around line 110, like this: .... osc_run_hook("after_login"); $this->redirectTo( $url_redirect ) ; ....
.... osc_run_hook("after_login"); $this->redirectTo( $url_redirect ) ; ....
The text was updated successfully, but these errors were encountered:
how can i add this function in 3.2?
Sorry, something went wrong.
_CONEJO said he'd add it, but I didn't see it yet. So I just put in a pull-request to have it added. You can view it here:
Pull request: #571
You can view the actual suggested code changes here: TurbineJesse@170d330
I could also see the use of an after logout hook as well. I found the logout hook in 3.1 so I guess I do not have a hook suggestion. :)
Jay
Hi,
I'm having a few days for holidays/xmas. Once I get a little free time I will add this (for some reason the pull-request could not be auto-merged ;( )
Sorry for the wait.
No branches or pull requests
There exists hooks for after a user registers and also after they logout. However, there is currently no hook for after they successfully login.
I suggest a new hook, perhaps called after_login, that runs immediately after the login is successful.
Perhaps place it in the file, login.php, around line 110, like this:
....
osc_run_hook("after_login");
$this->redirectTo( $url_redirect ) ;
....
The text was updated successfully, but these errors were encountered: