#36954 closed defect (bug) (fixed)
Cancelling an admin email address change on Multisite lacks a nonce
| Reported by: | johnbillion | Owned by: | jeremyfelt |
|---|---|---|---|
| Priority: | lowest | Milestone: | 4.6 |
| Component: | Administration | Version: | |
| Severity: | minor | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | multisite |
Description
The change of admin email address on a site in Multisite requires the link in a confirmation email to be clicked before it's activated. The "Cancel" link shown next to the "Email Address" field on the General Settings screen during that process lacks a nonce.
Attachments (2)
Change History (10)
This ticket was mentioned in Slack in #core-multisite by flixos90. View the logs.
10 years ago
#6
@
10 years ago
@scottbasgaard Looks good! I made a small change in 36954.2.diff so that the nonce is unique based on the site ID. Otherwise the same "cancel" URL would work on multiple sites.
Note:
See TracTickets
for help on using tickets.
Nice find @johnbillion, gave it a quick go.