- Posts: 7909
R0.23 No Longer Supported
Joomdlehooks auto redirect bug and log out sync
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
16 years 1 week ago #11
by Antonio Durán
Replied by Antonio Durán on topic Re:Joomdlehooks auto redirect bug and log out sync
Fixed for 0.24
Please Log in or Create an account to join the conversation.
- red
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 38
16 years 1 week ago #12
by red
Replied by red on topic Re:Joomdlehooks auto redirect bug and log out sync
redirect works now? how about "remember me"?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
16 years 1 week ago #13
by Antonio Durán
Replied by Antonio Durán on topic Re:Joomdlehooks auto redirect bug and log out sync
Hi. Thanks for the feedback, I didn't know remember me was not working 
I have make it to work now, but I had to replicte some Joomla code, because of how all this works:
- joomdlehooks plugin keeps on doing redirection, I could not came up with a solution to this yet.
- It fixes redirect by taking note of the return URL provided by the login module, and redirecting the user back there after authenticating in Moodle
- Remember me code is executed after the user plugins. So, as the plugin redirects, it does not get there. I just copied +-10 lines of code into the plugin to handle the case. The added benefit is that now the remember me function also logs you in Moodle.
I will have a package ready by next week. It would be cool if you could do some testing before release
I have make it to work now, but I had to replicte some Joomla code, because of how all this works:
- joomdlehooks plugin keeps on doing redirection, I could not came up with a solution to this yet.
- It fixes redirect by taking note of the return URL provided by the login module, and redirecting the user back there after authenticating in Moodle
- Remember me code is executed after the user plugins. So, as the plugin redirects, it does not get there. I just copied +-10 lines of code into the plugin to handle the case. The added benefit is that now the remember me function also logs you in Moodle.
I will have a package ready by next week. It would be cool if you could do some testing before release
Please Log in or Create an account to join the conversation.
- Alexandre
- Offline
- Junior Member
-
Less
More
- Posts: 39
15 years 11 months ago #14
by Alexandre
Replied by Alexandre on topic Re:Joomdlehooks auto redirect bug and log out sync
Someone have the solutions to this situation?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
15 years 11 months ago #15
by Antonio Durán
Replied by Antonio Durán on topic Re:Joomdlehooks auto redirect bug and log out sync
R0.24 is coming out this week, and this is already fixed.
Please Log in or Create an account to join the conversation.