##Installation
Run composer require axyr/silverstripe-adminlogin
Use a custom login screen when log in to the admin section.
You can also limit the admin/cms section by ip address (ranges).
The following formats are supported :
- 192.168.1.101
- 192.168.1.100-200
- 192.168.1.0/24
- 192.168.1.*
If you want to use your theme styles/scripts you can do the following:
- Add the following to a config file (e.g.
mysite/_config/_config.yml
):
AdminLogin:
UseTheme: true
- Optionally copy
templates/AdminLogin.ss
to your theme folder (& edit it to your liking).
When you are logged in, but don't have admin permissions, the normal site theme will be used.
Requires > 5.4