Firesphere\HaveIBeenPwned\Extensions\MemberExtension
Class \Firesphere\HaveIBeenPwned\Extensions\MemberExtension
Synopsis
class MemberExtension
extends DataExtension
{
- // constants
- const PWND_TAB = 'Root.HaveIBeenPwned';
- // members
- private static array $db = ;
- protected object $fallbackHelp = 'If the error says that you "have been Pwnd", it means your password appears in the ' . '<a href="https://haveibeenpwned.com/Privacy">Have I Been Pwnd</a> database. ' . 'Therefore, we can not accept your password, because it is insecure or known to have been breached. ' . 'Before a password is safely stored in our database, we test if the password has been breached. ' . 'We do not share your password. ' . 'We run a safe test against the HaveIBeenPwned database to. ' . 'None of your data is shared or stored at HaveIBeenPwned. ' . 'For more information, you can read up on "Password safety", ' . 'and we strongly recommend installing a password manager if you haven\'t already. ' . 'Several options are LastPass, BitWarden and 1Password. ' . 'These services are also able to test your passwords against the HaveIBeenPwned database, ' . 'to see if your passwords are secure and safe.<br />' . 'Furthermore, <a href="https://www.troyhunt.com/introducing-306-million-freely-downloadable-pwned-passwords/">' . 'Troy Hunt explains why and how this service is important</a>.;
- // methods
- public void updateCMSFields()
- protected void breachFound()
- protected void breachedSites()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Constants
Name | Value |
---|---|
PWND_TAB | 'Root.HaveIBeenPwned' |
Members
private
- $db — array
protected
- $fallbackHelp