mirror of https://github.com/itflow-org/itflow
Fix TOTP display
This commit is contained in:
parent
f726550356
commit
34e10889dd
|
|
@ -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 = "-";
|
||||
|
|
|
|||
Loading…
Reference in New Issue