|
|
@@ -117,7 +117,7 @@ if(core::ifGet("add")) {
|
|
|
</div>
|
|
|
<br />
|
|
|
|
|
|
- <?php if(isset($user["googleAuthenticator"]) AND $user["googleAuthenticator"] == 1) { ?>
|
|
|
+ <?php if(isset($user["googleAuthenticator"]) AND $user["googleAuthenticator"] == 1 AND $protect == 1) { ?>
|
|
|
<div class="card text-center" style="width: 18rem;">
|
|
|
<?php
|
|
|
$qrCodeUrl = googleAuthenticator::getGoogleUrl("CMS CSE Invent: " . ENVIRONNEMENT, user::getMyGoogleAuthenticator(session::getId()));
|