Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
8f57f19e
Commit
8f57f19e
authored
Aug 14, 2018
by
Gerald Salin
Browse files
#60
creation of user failed
parent
7a9c9755
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/lib/class.tx_nG6_utils.php
View file @
8f57f19e
...
...
@@ -240,7 +240,13 @@ Files impacted of:
* @return hashed password
*/
static
function
hash_password
(
$password
){
return
tx_saltedpasswords_salts_factory
::
getSaltingInstance
()
->
getHashedPassword
(
$password
);
if
(
\
TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility
::
isUsageEnabled
(
'FE'
))
{
$objSalt
=
\
TYPO3\CMS\Saltedpasswords\Salt\SaltFactory
::
getSaltingInstance
(
NULL
);
if
(
is_object
(
$objSalt
))
{
$saltedPassword
=
$objSalt
->
getHashedPassword
(
$password
);
}
}
return
$saltedPassword
;
}
static
function
get_ssh_connection
(
$user_login
,
$user_pwd
){
...
...
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