Fix per installazione iniziale

This commit is contained in:
loviuz 2024-01-31 00:13:46 +01:00
parent 14f3ef9556
commit 992d0bc57e
1 changed files with 7 additions and 2 deletions

View File

@ -24,6 +24,13 @@ use Carbon\Carbon;
$op = filter('op'); $op = filter('op');
$microsoft = null;
if ($dbo->isConnected() && $dbo->isInstalled()) {
$microsoft = $dbo->selectOne('zz_oauth2', '*', ['nome' => 'Microsoft', 'enabled' => 1, 'is_login' => 1]);
}
// LOGIN // LOGIN
switch ($op) { switch ($op) {
case 'login': case 'login':
@ -162,8 +169,6 @@ if (isset($username)) {
echo ' value="'.$username.'"'; echo ' value="'.$username.'"';
} }
$microsoft = $dbo->selectOne('zz_oauth2', '*', ['nome' => 'Microsoft', 'enabled' => 1, 'is_login' => 1]);
echo ' required> echo ' required>
<span class="form-control-feedback"><i class="fa fa-user"></i> </span> <span class="form-control-feedback"><i class="fa fa-user"></i> </span>
</div> </div>