Skip to content

[5.x] Prevent automatic logout on implicit submission - #246

Merged
royduin merged 1 commit into
masterfrom
Jade-GG-patch-3
Jul 28, 2026
Merged

[5.x] Prevent automatic logout on implicit submission#246
royduin merged 1 commit into
masterfrom
Jade-GG-patch-3

Conversation

@Jade-GG

@Jade-GG Jade-GG commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Because buttons default to type="submit" and this was always the first button in the form, this button got automatically pressed whenever the form gets implicitly submitted (e.g. pressing enter in an input). That's just how the html spec works, don't ask me why.

@Jade-GG Jade-GG changed the title [5.x] Make logout button type button [5.x] Prevent automatic logout on implicit submission Jul 24, 2026
@royduin
royduin merged commit 2ec2a93 into master Jul 28, 2026
2 of 5 checks passed
@royduin
royduin deleted the Jade-GG-patch-3 branch July 28, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants