Conversation
Notices
-
Embed this notice
tux (tux@anonsys.net)'s status on Sunday, 20-Nov-2022 03:36:29 JST tux Hallo bei der aktuellen DEV-Version lässt sich 2FA (/settings/2fa) nicht aktivieren.
Das Modul kann man normal aufrufen. Dann gibt man das aktuelle Passwort ein. Wenn man dann auf den Button "Aktiviere die Zwei-Faktor-Authentifizierung" klickt kommt eine weiße Seite.
Im PHP-Log taucht nichts aus. im Friendica Log habe ich bei dem Klick auf diesen Button folgende Exception gefunden:
2022-11-19T17:27:00Z index [DEBUG]: No HTTP_SIGNATURE header [] - {"file":"HTTPSignature.php","line":525,"function":"getSigner","uid":"3971d2","process_id":1341658} 2022-11-19T17:27:00Z index [ERROR]: Uncaught Exception TypeError: "Argument 1 passed to Friendica\Module\BaseSettings::__construct() must implement interface Friendica\Core\Session\Capability\IHandleUserSessions, instance of Friendica\Core\L10n given, called in /var/www/anonsys.net/src/Module/Settings/TwoFactor/Recovery.php on line 48" at /var/www/anonsys.net/src/Module/BaseSettings.php line 44 {"exception":"TypeError: Argument 1 passed to Friendica\\Module\\BaseSettings::__construct() must implement interface Friendica\\Core\\Session\\Capability\\IHandleUserSessions, instance of Friendica\\Core\\L10n given, called in /var/www/anonsys.net/src/Module/Settings/TwoFactor/Recovery.php on line 48 and defined in /var/www/anonsys.net/src/Module/BaseSettings.php:44\nStack trace:\n#0 /var/www/anonsys.net/src/Module/Settings/TwoFactor/Recovery.php(48): Friendica\\Module\\BaseSettings->__construct()\n#1 [internal function]: Friendica\\Module\\Settings\\TwoFactor\\Recovery->__construct()\n#2 /var/www/anonsys.net/vendor/level-2/dice/Dice.php(132): ReflectionMethod->invokeArgs()\n#3 /var/www/anonsys.net/vendor/level-2/dice/Dice.php(96): Dice\\Dice->Dice\\{closure}()\n#4 /var/www/anonsys.net/src/App/Router.php(343): Dice\\Dice->create()\n#5 /var/www/anonsys.net/src/App.php(730): Friendica\\App\\Router->getModule()\n#6 /var/www/anonsys.net/index.php(44): Friendica\\App->runFrontend()\n#7 {main}"} - {"file":null,"line":null,"function":null,"uid":"3971d2","process_id":1341658} 2022-11-19T17:27:00Z index [NOTICE]: no data for session {"session_id":"h5iblk6on7pn1fb1t8ad7o3csc","uri":"/remote.php/webdav/Scan/"} - {"file":"Database.php","line":77,"function":"read","uid":"36b147","process_id":1341660} 2022-11-19T17:27:00Z index [DEBUG]: No HTTP_SIGNATURE header [] - {"file":"HTTPSignature.php","line":525,"function":"getSigner","uid":"36b147","process_id":1341660}
Das restliche Logfile findet man hier: paste.metaversum.wtf/?fc75de3f…
Was ich nicht sagen kann, ob dieses Problem auch schon in der aktuellen Stable besteht?
Vielleicht könnte sich jemand dieses Problem einmal ansehen? ?
@helpers-
Embed this notice
tux (tux@anonsys.net)'s status on Sunday, 20-Nov-2022 04:04:19 JST tux @hypolite
Thank you for fixing the bug so quickly. Really an insane work that you do. ? ?hypolite likes this. -
Embed this notice
tux (tux@anonsys.net)'s status on Sunday, 20-Nov-2022 05:11:25 JST tux @hypolite
Fix was installed and a test account was able to successfully enable 2FA. Great!hypolite likes this. -
Embed this notice
raroun (raroun@friendica.opensocial.space)'s status on Monday, 21-Nov-2022 00:05:06 JST raroun @tux @hypolite
I can also confirm, that this fix works like charm.
Thanks!hypolite likes this. -
Embed this notice
hypolite (hypolite@friendica.mrpetovan.com)'s status on Sunday, 04-Dec-2022 10:32:17 JST hypolite @tux Vielen Dank fur den Bericht, siehe github.com/friendica/friendica…
-
Embed this notice