#28962 closed defect (bug) (fixed)
Impossible to close the interim login modal
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Login and Registration | Keywords: | has-patch needs-testing |
Focuses: | administration | Cc: |
Description
Steps to reproduce:
- Open a post for editing
- Clear your cookies or log out of the site in another window
- When autosave or heartbeat kicks in, you'll be presented with the "Session expired" modal window
- Attempt to close the window using the
X
in the top right corner
Note that the modal closes but immediately re-opens. We should allow this window to be closed in case the user needs to access any of the content on the screen.
Attachments (1)
Change History (5)
#1
@
11 years ago
- Keywords has-patch needs-testing added; needs-patch removed
Originally when hide()
is called, only the beforeunload.wp-auth-check
callback is disabled, but not heartbeat-tick.wp-auth-check
. The latter is checking for the wp-auth-check
value in the callback which can't be changed since the user is still logged out, we just don't want to display the popup constantly.
If we deactivate the heartbeat-tick.wp-auth-check
event handler the popup verification will be disabled as well until the next request is processed - and IMO other AJAX requests should behave properly and prevent non-authorized activities.
#2
@
10 years ago
- Milestone changed from Awaiting Review to 4.4
- Owner set to chriscct7
- Status changed from new to reviewing
disable heartbeat-tick.wp-auth-check