Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
b6efc9c8
Commit
b6efc9c8
authored
Jul 19, 2017
by
Jens Jacobsen
Browse files
Fix usage of old class name tx_saltedpasswords_salts_factory
parent
882e6302
Pipeline
#1711
passed with stages
in 2 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter/class.tx_ter_helper.php
View file @
b6efc9c8
...
...
@@ -146,7 +146,7 @@ class tx_ter_helper
);
if
(
$row
=
$TYPO3_DB
->
sql_fetch_assoc
(
$res
))
{
$objPHPass
=
tx_s
altedpasswords
_salts_f
actory
::
getSaltingInstance
(
$row
[
'password'
]);
$objPHPass
=
\
TYPO3\CMS\S
altedpasswords
\Salt\SaltF
actory
::
getSaltingInstance
(
$row
[
'password'
]);
// we do not consider 'C' or 'M' prefixed salted password hashes
// as password strings on typo3.org are not updated ones
if
(
$row
[
'password'
]
!==
$accountData
->
password
&&
!
$objPHPass
->
checkPassword
(
...
...
@@ -186,7 +186,7 @@ class tx_ter_helper
);
if
(
$row
=
$GLOBALS
[
'TYPO3_DB'
]
->
sql_fetch_assoc
(
$res
))
{
$objPHPass
=
tx_s
altedpasswords
_salts_f
actory
::
getSaltingInstance
(
$row
[
'password'
]);
$objPHPass
=
\
TYPO3\CMS\S
altedpasswords
\Salt\SaltF
actory
::
getSaltingInstance
(
$row
[
'password'
]);
// we do not consider 'C' or 'M' prefixed salted password hashes
// as password strings on typo3.org are not updated ones
if
(
$row
[
'password'
]
===
$accountData
->
password
||
$objPHPass
->
checkPassword
(
...
...
@@ -510,4 +510,4 @@ class tx_ter_helper
$GLOBALS
[
'LANG'
]
=
GeneralUtility
::
makeInstance
(
'language'
);
$GLOBALS
[
'LANG'
]
->
init
(
$lang
);
}
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment