Fixed bug #17087: BE user password not changable via setup module with "saltedpasswor...
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 2 Feb 2011 09:38:22 +0000 (09:38 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 2 Feb 2011 09:38:22 +0000 (09:38 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-5@10372 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/saltedpasswords/ext_tables.php

index abb7b32..e77fea5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2011-02-02  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Fixed bug #17087: BE user password not changable via setup module with "saltedpasswords" (Thanks to Marcus Krause)
        * Fixed bug #17428: Parsetime comment is inserted BEFORE !doctype and html tag (Thanks to Georg Ringer)
 
 2011-02-02  Jigal van Hemert  <jigal@xs4all.nl>
index 6754a49..3ea2bec 100644 (file)
@@ -15,9 +15,11 @@ $TCA['be_users']['columns']['password']['config']['max'] = 60;
 
 if (tx_saltedpasswords_div::isUsageEnabled('BE')) {
        $TCA['be_users']['columns']['password']['config']['eval'] = 'trim,required,tx_saltedpasswords_eval_be,password';
+
+               // Prevent md5 hashing on client side via JS
+       $GLOBALS['TYPO3_USER_SETTINGS']['columns']['password']['eval'] = '';
+       $GLOBALS['TYPO3_USER_SETTINGS']['columns']['password2']['eval'] = '';
 }
 
-$GLOBALS['TYPO3_USER_SETTINGS']['columns']['password']['eval'] = 'tx_saltedpasswords_eval_be';
-$GLOBALS['TYPO3_USER_SETTINGS']['columns']['password2']['eval'] = '';
 
 ?>
\ No newline at end of file