silverorange / admin

Site backend admin platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Admin

Admin is a framework for back-end administration systems. Admin is built using Swat and Site.

Installation

Make sure the silverorange composer repository is added to the composer.json for the project and then run:

composer require silverorange/admin

Enabling 2FA (Two Factor Authentication)

  1. Install the Admin package ≥ 6.1.0
  2. Add two composer packages:
composer require robthree/twofactorauth
composer require bacon/bacon-qr-code
  1. Run composer install

  2. Add the new database fields:

alter table adminuser add two_fa_secret varchar(255);
alter table adminuser add two_fa_enabled boolean not null default false;
alter table adminuser add two_fa_timeslice integer not null default 0;
  1. Edit your .ini files (both stage and production) and add:
[admin]
two_fa_enabled = On
  1. Let your users know! They will now see 2FA setup in the “Login Settings” in the top-right corner.

About

Site backend admin platform.

License:GNU Lesser General Public License v2.1


Languages

Language:PHP 86.6%Language:CSS 10.7%Language:JavaScript 1.7%Language:PLpgSQL 0.6%Language:Makefile 0.4%