mirror of https://github.com/itflow-org/itflow
Fix regression OTP in guest view item
This commit is contained in:
parent
f1783a6110
commit
f64641cfdd
|
|
@ -191,7 +191,7 @@ if ($item_type == "Document") {
|
||||||
|
|
||||||
$credential_otp_secret = nullable_htmlentities($credential_row['credential_otp_secret']);
|
$credential_otp_secret = nullable_htmlentities($credential_row['credential_otp_secret']);
|
||||||
$credential_id_with_secret = '"' . $credential_row['credential_id'] . '","' . $credential_row['credential_otp_secret'] . '"';
|
$credential_id_with_secret = '"' . $credential_row['credential_id'] . '","' . $credential_row['credential_otp_secret'] . '"';
|
||||||
if (empty($login_otp_secret)) {
|
if (empty($credential_otp_secret)) {
|
||||||
$otp_display = "-";
|
$otp_display = "-";
|
||||||
} else {
|
} else {
|
||||||
$otp_display = "<span onmouseenter='showOTP($credential_id_with_secret)'><i class='far fa-clock'></i> <span id='otp_$credential_id'><i>Hover..</i></span></span>";
|
$otp_display = "<span onmouseenter='showOTP($credential_id_with_secret)'><i class='far fa-clock'></i> <span id='otp_$credential_id'><i>Hover..</i></span></span>";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue