@@ -218,12 +218,12 @@ discard block |
||
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | /** |
| 221 | - * This function takes a password as argument, salts it and returns the new password. |
|
| 222 | - * |
|
| 223 | - * @param string $password |
|
| 224 | - * |
|
| 225 | - * @return string |
|
| 226 | - */ |
|
| 221 | + * This function takes a password as argument, salts it and returns the new password. |
|
| 222 | + * |
|
| 223 | + * @param string $password |
|
| 224 | + * |
|
| 225 | + * @return string |
|
| 226 | + */ |
|
| 227 | 227 | protected function SaltPassword($password) |
| 228 | 228 | { |
| 229 | 229 | if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('saltedpasswords')) { |
@@ -241,12 +241,12 @@ discard block |
||
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | /** |
| 244 | - * This function checks if a password is in md5 format. |
|
| 245 | - * |
|
| 246 | - * @param string $md5 |
|
| 247 | - * |
|
| 248 | - * @return int |
|
| 249 | - */ |
|
| 244 | + * This function checks if a password is in md5 format. |
|
| 245 | + * |
|
| 246 | + * @param string $md5 |
|
| 247 | + * |
|
| 248 | + * @return int |
|
| 249 | + */ |
|
| 250 | 250 | protected function isValidMd5($md5 = '') |
| 251 | 251 | { |
| 252 | 252 | return preg_match('/^[a-f0-9]{32}$/', $md5); |