[BUGFIX] Fix namespace of `SaltedPasswordsUtility` in documentation 01/53301/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 21 Jun 2017 14:55:43 +0000 (16:55 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 21 Jun 2017 15:37:56 +0000 (17:37 +0200)
Resolves: #81655
Releases: master, 8.7, 7.6
Change-Id: I4fe1b16b6e4c2bdd26fd05143e7b0ead91445223
Reviewed-on: https://review.typo3.org/53301
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/saltedpasswords/Documentation/DevelopersGuide/Index.rst

index e178fa9..b027deb 100644 (file)
@@ -40,7 +40,7 @@ Example implementation for TYPO3 frontend:
    $password = 'XXX';
    $saltedPassword = '';
 
-       if (\TYPO3\CMS\Saltedpasswords\Utility::SaltedPasswordsUtility::isUsageEnabled('FE')) {
+       if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled('FE')) {
                $objSalt = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance(NULL);
                if (is_object($objSalt)) {
                        $saltedPassword = $objSalt->getHashedPassword($password);