mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #30] Sending sometimes logs the user out #27
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jasonmunro on GitHub (Mar 7, 2016).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/30
Originally assigned to: @jasonmunro on GitHub.
This appears to be a race condition between submitting a message to be sent and background requests, but I'm unsure why it logs the user out. The outbound message is sent, which is even weirder. I have disabled the send button while the background draft saving occurs which helps, but there is still something fishy going on here.
@jasonmunro commented on GitHub (Mar 8, 2016):
I believe I have tracked this down to a race condition WRT PHP sessions. If I rapidly click on links in the folder list I can trigger a logout. Still hunting down the reason for that. Switching to DB sessions fixes the issue (and is non-blocking so better with parallel requests)
@jasonmunro commented on GitHub (Mar 8, 2016):
The problem is session regenerate id. With that disabled I'm unable to reproduce the forced logout bug
@jasonmunro commented on GitHub (Mar 8, 2016):
Removed the session regenerate id call for now. Might try to do something with it later