Commit b357cb60 authored by Frank Bergmann's avatar Frank Bergmann

- corrected the max_otps_left condition

parent b8b3e084
......@@ -198,7 +198,7 @@ if {$otp_installed_p && [exists_and_not_null otp_enabled_p]} {
set otps_left [llength [im_otp_unused_otps -user_id $otp_user_id]]
set help_text ""
if {$otps_left > $min_otps_left} {
if {$otps_left < $min_otps_left} {
set help_text [lang::message::lookup "" intranet-otp.Few_OTPs_Left "There are only %otps_left% OTPs left. Please update your OTP list<br>or you will loose access from this location."]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment