SilverStripe\Comments\Model\Comment\SecurityToken::memberSalt
Get the member-specific salt.
The reason for making the salt specific to a user is that it cannot be "passed in" via a querystring, requiring the same user to be present at both the link generation and the controller action.
Signature
protected function memberSalt(string
$salt,
Member
$member )
Parameters
$salt
— string- Single use salt
$member
— object- Member object
Returns
- string
- Generated salt specific to this member