Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.44 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.44 KB

silverstripe-adminlogin

Scrutinizer Travis Packagist Packagist

##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.*

Use theme styles/scripts

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).

Screenshot

Screenshot

Known issues

When you are logged in, but don't have admin permissions, the normal site theme will be used.

Requires > 5.4