用户确认后如何自动登录前端用户?

时间:2019-07-03 15:38:14

标签: php extbase typo3-8.x

点击“确认”链接并完成注册后,我尝试自动登录用户。

我尝试此解决方案:https://github.com/in2code-de/femanager/blob/5edc8eb4e967136c7059bc32c33fe4b1da76dc04/Classes/Utility/UserUtility.php#L301

它不起作用。

这是我得到的证据:

Argument 1 passed to TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::updateLoginTimestamp() must be of the type integer, null given, called in /www/pages/autologin/vendor/typo3/cms/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php on line 902 

我正在使用TYPO3 8,需要帮助。

0 个答案:

没有答案