CoolCMS API

AdvertPasswordResetTrait

Forgotten password of an advert placed without an account, Manager layer (delegation to the service).

Table of Contents

Methods

redeemManageKey()  : Result
Redeems the key from the advert management link in the insertion email (advert without an account).
resetPassword()  : Result
sendPasswordReset()  : Result

Methods

redeemManageKey()

Redeems the key from the advert management link in the insertion email (advert without an account).

public redeemManageKey(int $advertId, string $key) : Result
Parameters
$advertId : int
$key : string
Return values
Result

resetPassword()

public resetPassword(int $advertId, string $key, string $password) : Result
Parameters
$advertId : int
$key : string
$password : string
Return values
Result
On this page

Search results