diff --git a/docs/en/index.md b/docs/en/index.md index a4c90b7..90b53a1 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -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');