mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Fix TOTP display
This commit is contained in:
@@ -93,7 +93,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
|
||||
$login_password = $row['login_password'];
|
||||
$login_otp_secret = $row['login_otp_secret'];
|
||||
if(!empty($login_otp_secret)){
|
||||
$otp_display = get_otp($login_otp_secret);
|
||||
$otp = get_otp($login_otp_secret);
|
||||
$otp_display = "<i class='far fa-clock text-secondary'></i> $otp<button class='btn btn-sm' data-clipboard-text='$otp'><i class='far fa-copy text-secondary'></i></button>";
|
||||
}else{
|
||||
$otp_display = "-";
|
||||
|
||||
Reference in New Issue
Block a user