A security enhancement app for Frappe Framework that blocks login attempts to the administrator account when email-password login method is enabled.
bench get-app https://github.com/username/block_administrator
bench --site your-site.com install-app block_administrator
Once installed, the app automatically blocks login attempts to the administrator account when email-password login method is enabled. This adds an extra layer of security to your Frappe installation.
The app hooks into Frappeβs authentication system and implements the following security logic:
Login Attempt | Result | Reason |
---|---|---|
Administrator account | π« Blocked | Security risk |
Other accounts | β Allowed | Normal operation |
graph TD
A[Login Request] --> B{Is administrator?}
B -->|Yes| C[Block Access]
B -->|No| D[Process Normally]
This app is built on top of the Frappe Framework, an open-source, metadata-driven framework created by Frappe Technologies. Special thanks to: