Integrate portal identity and shared navigation in isolated SSO mode
This commit is contained in:
+2
-1
@@ -16,7 +16,8 @@ function db(): PDO
|
||||
$pdo->exec('PRAGMA foreign_keys = ON');
|
||||
|
||||
initSchema($pdo);
|
||||
seedAdmin($pdo);
|
||||
if (getenv('PORTAL_SSO_ENABLED') !== '1') seedAdmin($pdo);
|
||||
$pdo->exec('CREATE TABLE IF NOT EXISTS portal_identity(uid INTEGER PRIMARY KEY REFERENCES users(id), empid TEXT UNIQUE NOT NULL)');
|
||||
return $pdo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user