Added warning triangle in topbar when 2fa disabled
This commit is contained in:
@@ -26,7 +26,12 @@
|
||||
<a class="nav-link nav-user mr-0" href="<?=self::getUrl("UserProfile")?>">
|
||||
<!-- <img src="<?=self::getResourcePath()?>assets/images/users/avatar-4.jpg" alt="user-image" class="rounded-circle"> -->
|
||||
<!-- <i style="font-size: 24px; border-radius: 50%;" class="fas fa-user-secret text-white img-circle bg-info"></i>-->
|
||||
<i class="fa-sharp fa-light fa-gear text-white img-circle font-15 "></i>
|
||||
<?php if(!$me->twofactor): ?>
|
||||
<i class="fas fa-exclamation-triangle text-warning" title="Zwei-Faktor-Authentifizierung (2FA) nicht aktiviert!"></i>
|
||||
<?php else: ?>
|
||||
<i class="fa-sharp fa-light fa-gear text-white img-circle font-15 "></i>
|
||||
<?php endif; ?>
|
||||
|
||||
<span class="pro-user-name ml-1">
|
||||
<?=$me->username?>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user