alexandregz / twofactor_gauthenticator

This RoundCube plugin adds the 2-step verification(OTP) to the login proccess
MIT License
221 stars 78 forks source link

Logged out after inputting 2FA code #206

Open Ansellmo opened 1 week ago

Ansellmo commented 1 week ago

Hi everyone,

I've installed and configured the plugin on my roundcube server. I use it on a test account with Google Authentificator, and after inputting the code, I'm logged out. What should I do?

Ansellmo commented 1 day ago

UPGRADE! I hadn't seen it, but after trying to connect, there's this message in the bottom right-hand corner, here's the translation: You have successfully ended this session

image

o1ramsky commented 16 hours ago

@Ansellmo

Check the time on the server. I'm just after seeing the same behavior.

Ansellmo commented 4 hours ago

if I live in France, my server must be set to the French time zone?

o1ramsky commented 2 hours ago

The zone does not matter if it converts properly to the current UTC.

Ansellmo commented 2 hours ago

Server time is good. Displayed date and time are correct

Ansellmo commented 54 minutes ago

I have no error messages in the error.log file. Could this be due to a deprecated element?

[22-Nov-2024 11:20:52 UTC] PHP Deprecated: Sabre\Xml\Deserializer\keyValue(): Implicitly marking parameter $namespace as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/sabre/xml/lib/Deserializer/functions.php on line 60 [22-Nov-2024 11:20:52 UTC] PHP Deprecated: Sabre\Xml\Deserializer\enum(): Implicitly marking parameter $namespace as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/sabre/xml/lib/Deserializer/functions.php on line 151 [22-Nov-2024 11:20:52 UTC] PHP Deprecated: roundcube_caldav::add_ics_event_to_caldav_server(): Implicitly marking parameter $href as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/roundcube_caldav.php on line 1359 [22-Nov-2024 11:20:52 UTC] PHP Deprecated: change_date_ics(): Implicitly marking parameter $offset_start as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/ics_file_modification.php on line 98 [22-Nov-2024 11:20:52 UTC] PHP Deprecated: change_date_ics(): Implicitly marking parameter $offset_end as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/ics_file_modification.php on line 98 [22-Nov-2024 11:20:52 UTC] PHP Deprecated: find_identity_matching_with_attendee_or_organizer(): Implicitly marking parameter $event_on_server as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/set_response.php on line 410 [22-Nov-2024 11:20:52 UTC] PHP Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in /usr/local/www/roundcube/program/lib/Roundcube/rcube_session.php on line 119 [22-Nov-2024 11:20:52 UTC] PHP Deprecated: MStilkerich\CardDavClient\Config::init(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/mstilkerich/carddavclient/src/Config.php on line 72 [22-Nov-2024 11:20:52 UTC] PHP Deprecated: MStilkerich\CardDavClient\Config::init(): Implicitly marking parameter $httplogger as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/mstilkerich/carddavclient/src/Config.php on line 72 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: Sabre\Xml\Deserializer\keyValue(): Implicitly marking parameter $namespace as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/sabre/xml/lib/Deserializer/functions.php on line 60 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: Sabre\Xml\Deserializer\enum(): Implicitly marking parameter $namespace as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/sabre/xml/lib/Deserializer/functions.php on line 151 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: roundcube_caldav::add_ics_event_to_caldav_server(): Implicitly marking parameter $href as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/roundcube_caldav.php on line 1359 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: change_date_ics(): Implicitly marking parameter $offset_start as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/ics_file_modification.php on line 98 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: change_date_ics(): Implicitly marking parameter $offset_end as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/ics_file_modification.php on line 98 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: find_identity_matching_with_attendee_or_organizer(): Implicitly marking parameter $event_on_server as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/set_response.php on line 410 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in /usr/local/www/roundcube/program/lib/Roundcube/rcube_session.php on line 119 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: MStilkerich\CardDavClient\Config::init(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/mstilkerich/carddavclient/src/Config.php on line 72 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: MStilkerich\CardDavClient\Config::init(): Implicitly marking parameter $httplogger as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/mstilkerich/carddavclient/src/Config.php on line 72 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: Creation of dynamic property calendar::$dst_active is deprecated in /usr/local/www/roundcube/plugins/calendar/calendar.php on line 108 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: Sabre\Xml\Deserializer\keyValue(): Implicitly marking parameter $namespace as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/sabre/xml/lib/Deserializer/functions.php on line 60 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: Sabre\Xml\Deserializer\enum(): Implicitly marking parameter $namespace as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/carddav/vendor/sabre/xml/lib/Deserializer/functions.php on line 151 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: roundcube_caldav::add_ics_event_to_caldav_server(): Implicitly marking parameter $href as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/roundcube_caldav.php on line 1359 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: change_date_ics(): Implicitly marking parameter $offset_start as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/ics_file_modification.php on line 98 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: change_date_ics(): Implicitly marking parameter $offset_end as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/ics_file_modification.php on line 98 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: find_identity_matching_with_attendee_or_organizer(): Implicitly marking parameter $event_on_server as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/www/roundcube/plugins/roundcube_caldav/lib/php/set_response.php on line 410 [22-Nov-2024 11:21:08 UTC] PHP Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in /usr/local/www/roundcube/program/lib/Roundcube/rcube_session.php on line 119

o1ramsky commented 18 minutes ago

It is likely related to the PHP version you are running. I have PHP 8.2.25 and do not see these.