The craftCms config value of rememberedUserSessionDuration being set to false instead of a time (eg. 'P1D') causes the following php error.
Exception: DateInterval::__construct(): Unknown or bad format () in /var/www/craft/plugins/twofactorauthentication/services/TwoFactorAuthentication_VerifyService.php:41
(see source)
Perhaps a sane default value for $sessionDuration when rememberedUserSessionDuration is false would be good? A few hours or a day perhaps?
The craftCms config value of
rememberedUserSessionDuration
being set tofalse
instead of a time (eg.'P1D'
) causes the following php error.Exception: DateInterval::__construct(): Unknown or bad format () in /var/www/craft/plugins/twofactorauthentication/services/TwoFactorAuthentication_VerifyService.php:41
(see source)Perhaps a sane default value for
$sessionDuration
whenrememberedUserSessionDuration
is false would be good? A few hours or a day perhaps?