Closed richard015ar closed 1 year ago
Related issue: https://github.com/pressbooks/private/issues/941
This PR fixes the logout redirection behaviour for regular WP users when the Hide the Pressbooks login page. (forced redirection) option enabled.
Hide the Pressbooks login page. (forced redirection)
Hide the Pressbooks login page.
The user is logged out and redirected to the previous page (the Network home page in the test case).
The user is logged out and redirected to the WP Login page.
Follow the previous steps, and make sure the behaviour is the expected one.
Merging #173 (a4a7c26) into dev (0ef84ac) will increase coverage by 0.14%. The diff coverage is n/a.
0.14%
n/a
Related issue: https://github.com/pressbooks/private/issues/941
This PR fixes the logout redirection behaviour for regular WP users when the
Hide the Pressbooks login page. (forced redirection)
option enabled.Bug description
Hide the Pressbooks login page.
option and save it.Expected behaviour
The user is logged out and redirected to the previous page (the Network home page in the test case).
Current behaviour
The user is logged out and redirected to the WP Login page.
Test case
Follow the previous steps, and make sure the behaviour is the expected one.