ResetLanding
Corex\Profile\Reset\ResetLanding · class · Add-ons layer
Receives a visitor who follows the link of a reset email to the account page. Two requests. The first carries the login and the key in its address: they are put away in the {@see ResetTicket} and the visitor is sent to the same page without them. The second is the page itself: the key is checked with WordPress, and the account block is told what to show. Neither is a page a cache may keep.
Public API
Section titled “Public API”__construct(ResetTicket $ticket, ResetLink $links)
Section titled “__construct(ResetTicket $ticket, ResetLink $links)”register(): void
Section titled “register(): void”onRequest(): void
Section titled “onRequest(): void”Takes away a ticket that has nothing more to say: a key WordPress refuses, and the note that the password was changed, which is said once.
state(): ResetState
Section titled “state(): ResetState”What the account block shows on this request.