全新安装到最新的typo3 9.5 LTS后无法登录到后端 [英] Cant login to backend after Fresh install to the latest typo3 9.5 LTS
问题描述
在Ubuntu18主机上新安装Typo3 9.5LTS.顺利进行,新的数据库,一切.组成了后端用户/密码&完成后,我将被发送到后端进行登录.
Fresh install of Typo3 9.5LTS on the Ubuntu18 host. Went smoothly, new database, everything. Made up the backend user/password & when complete I'm sent to the backend to log in.
登录页面似乎刚刚刷新.如果我使用了错误的凭据,它会告诉我它们应该是错误的.进入sys_log,我看到用户是从x.x.x.x登录的",但是我被禁止进一步访问.
The login page seemingly just refreshes. If I use the wrong credentials it tells me they are wrong as it should. Going to sys_log I see "user logged in from x.x.x.x" but I'm not allowed further.
实际发送到服务器的重定向是:
The redirects actually sent to the server are:
303 POST /typo3?loginProvider=....
303 GET index.php?route=/main&token=...
200 GET /typo3/ (returns the login page)
任何关于检查内容的想法都值得赞赏,我知道如何使用服务器,但是我是typo3的新手.
谢谢.
Any ideas on what to check appreciated, I know my way around servers but I'm new to typo3.
Thanks.
推荐答案
Argon2i类在TYPO3中始终可用,但是许多php安装并没有将所需的库编译到php中.因此,该类将失败.如果您想要最通用的解决方案,则为:在LocalConfiguration.php
中使用phppass:
Argon2i class is always available in TYPO3, however many php installations do not have a required library compiled into php. Thus the class will fail. If you want the most universal solution, here it is: use phppass in LocalConfiguration.php
:
<?php
return [
'BE' => [
...
'passwordHashing' => [
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PhpassPasswordHash'
],
...
这篇关于全新安装到最新的typo3 9.5 LTS后无法登录到后端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!