CoolCMS API

RedeemManageKeyTrait

Redeems the key from the "Manage" link in the insert e-mail, Repository layer (currently a discussion post).

Calls <apiEndpoint>/redeemManageKey (internal Api action without action*(), grant guest) with id and key; the Api presenter has internalActionRedeemManageKey(int $id, string $key) and verifies the digest, the expiration and the binding to the password secret (ManageKeyTrait).

The advert modules call the same Api logic from AdvertPasswordResetTrait: their action takes advertId and the bridge passes parameters by name.

Table of Contents

Methods

redeemManageKey()  : Result

Methods

On this page

Search results