THESE ARE CORE APPGINI FILES - NOT HOOKS! They WILL be overwriten and need to be replaced if you regenerate your app.
There is no removal of any generated code - just minimal additional code added. Search for "Strong Password" in the comments in each file and you will see what's been added. There are no additional new files to load - just the edited core files.
Instructions: Extract and overwrite existing generated files.
BACKUP YOUR OWN EXISTING FILES FIRST! I have tested for myself but I offer no guarantee or warranty.
You WILL need to edit one file prior to overwriting: in membership_signup.php at line 2 and 3 you will see
Code: Select all
//Strong Password - change $app_name variable to your own App name
$app_name = 'YourAppName';
Just be aware that this is a hack of core files which is NOT the recommended way to go about things. I absolutely require strong passwords, as should every database on the internet in my opinion. A minimum requirement of ANY 4 characters without an option for Admins to override that is just unsafe.
My feature request: (at a minimum) an option for Admins to be able to apply a strong password policy.