R0.23 No Longer Supported

Joomdlehooks auto redirect bug and log out sync

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
  • Junior Member
More
16 years 1 week ago #12 by red
redirect works now? how about "remember me"?

Please Log in or Create an account to join the conversation.

More
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 :)

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #14 by Alexandre
Someone have the solutions to this situation?

Please Log in or Create an account to join the conversation.

More
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.