Skip to content

Commit

Permalink
Merge pull request #158 from creative-commoners/pulls/6/protected-docs
Browse files Browse the repository at this point in the history
DOC Update extension hook examples to be protected
  • Loading branch information
GuySartorelli authored May 21, 2024
2 parents 9825ca3 + d262b33 commit a5d1b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ use SilverStripe\Security\Member;
class MyTOTPRegisterHandlerExtension extends Extension
{
public function updateTotp(TOTPInterface $totp, Member $member)
protected function updateTotp(TOTPInterface $totp, Member $member)
{
$totp->setLabel($member->getCustomTOTPLabel());
$totp->setIssuer('My web project');
Expand Down

0 comments on commit a5d1b33

Please sign in to comment.