Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logged out after inputting 2FA code #206

Open
Ansellmo opened this issue Nov 13, 2024 · 9 comments
Open

Logged out after inputting 2FA code #206

Ansellmo opened this issue Nov 13, 2024 · 9 comments

Comments

@Ansellmo
Copy link

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
Copy link
Author

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
Copy link

@Ansellmo

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

@Ansellmo
Copy link
Author

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

@o1ramsky
Copy link

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

@Ansellmo
Copy link
Author

Server time is good. Displayed date and time are correct

@Ansellmo
Copy link
Author

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
Copy link

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

@Ansellmo
Copy link
Author

Ansellmo commented Nov 22, 2024

I have roundcube installed on my freebsd server via the pkg package roundcube-contextmenu-php84-1.6.1 and roundcube-twofactor_gauthenticator-php84-g20231119. And I have php 8.4.0rc4 installed on the server as mentioned in the requirements https://ports.freebsd.org/cgi/ports.cgi?query=roundcube-php84&stype=all&sektion=all

@Ansellmo
Copy link
Author

Ansellmo commented Nov 26, 2024

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

I did a new installation with php 8.2.26, I no longer have errors related to the twofactor_gauthentificator module. But I'm still logged out after entering the code for the 2FA.
But there's this depreciation message linked to the rounducube-calendar-kolab module after being logged out in the files

PHP Deprecated: Creation of dynamic property calendar::$dst_active is deprecated in /usr/local/www/roundcube/plugins/calendar/calendar.php on line 108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants