Be able to disable the login form for specific users

This commit is contained in:
Frederic Guillot
2015-02-07 23:28:17 -05:00
parent 607d9dc794
commit 00b9508d81
25 changed files with 148 additions and 69 deletions

View File

@@ -5,7 +5,12 @@ namespace Schema;
use Core\Security;
use PDO;
const VERSION = 42;
const VERSION = 43;
function version_43($pdo)
{
$pdo->exec('ALTER TABLE users ADD COLUMN disable_login_form INTEGER DEFAULT 0');
}
function version_42($pdo)
{