Setting default values for a password field in Magento system configuration

L2Extreme

New Member
Setting default values for System Configuration fields is well understood (via Chapagain and blog post from @alan storm) but password fields are different because they are encrypted when saved to the database. Hence when Magento reads the default value from the config.xml, it tries to decrypt the value and fails if the default is in plaintext. Is there an XML helper or process (other than creating a setup script to with \[code\]$setup->setConfigData('config/path/here', md5('default'))\[/code\] ) to specify these defaults?
 
Back
Top