Problem/Motivation
There is an unusual behavior observed after logging out and being redirected to the front page.
Steps to reproduce
1. Log in using Office 365.
2. Click on 'Logout' (user/logout).
3. User is redirected to Microsoft's sign out screen with the message 'You signed out of your account'.
4. Upon returning to the site, the user remains logged in, even after closing the browser.
Proposed resolution
In the public function logout() :
from:
Url::fromRoute(''
to:
Url::fromRoute('user.logout');
This has already been tested in the production environment.
2- It might be a nice addition to have the option to specify where the user should be redirected after logging out?
Thanks for this great module!
Issue fork o365-3415890
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
abhishek_gupta1 commented@Freddy Rodriguez , I have fixed the issue and created MR. please kindly review it
Comment #4
batigolixComment #5
fabianderijkComment #7
fabianderijkI've checked the fork, and adjusted the code to make it work. All works now like it should. The code has been pushed in the dev release and will be added in the upcoming tagged release.