Skip to content

[custom drupal module] simple js+ hook_user that ads current destination to login/logout links (if there's no other query on them already) and logout script that unsets if user doesn't have access to the page they're logging out from.

hefox/loginlogout

Repository files navigation

Enable and it should work

It replaces, via jquery, all user/login, logout links that do not have any other additions with ones with destination, with the intent that on logout the user will be directed to the page they were on. A check while logging out tests if they do have permission to continue seeing that page, else unsets the destination. 

About

[custom drupal module] simple js+ hook_user that ads current destination to login/logout links (if there's no other query on them already) and logout script that unsets if user doesn't have access to the page they're logging out from.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published