[creditmutuel] Better handle 2FA end of validity
On CM, check_redirections() controls when 2FA is coming or not. Website proposes to redo 2FA a few weeks before its end of validity, also detected in check_redirections(). We can skip it, with skip_redo_twofa(). But for now it would only work in interactive mode. Thankfully we have the timestamp of the end of the 2FA validity. So now, we only need interactive mode if we are not in the validity period, effectively using skip_redo_twofa() otherwise.
parent
cd996223
Please register or sign in to comment