mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Fixed TOTP for client logins
This commit is contained in:
@@ -87,12 +87,13 @@ $sql_recent_logs = mysqli_query($mysqli,"SELECT * FROM logs
|
||||
if(!empty($session_token)){
|
||||
//Generate QR Code based off the generated key
|
||||
print sprintf('<img src="%s"/>',TokenAuth6238::getBarCodeUrl('','',$session_token,$config_company_name));
|
||||
|
||||
echo "<p class='text-secondary'>$secretkey</p>";
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo $secretkey; ?>">
|
||||
|
||||
<hr>
|
||||
|
||||
<?php if(empty($session_token)){ ?>
|
||||
|
||||
Reference in New Issue
Block a user