aboutsummaryrefslogtreecommitdiffstats
path: root/community/roundcubemail/config-session_key.patch
blob: a94bd9bd1097797cabe67a5e4fdf6a0ad24c8ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/config/config.inc.php.sample
+++ b/config/config.inc.php.sample
@@ -74,7 +74,7 @@
 // in the session record (and the client cookie if remember password is enabled).
 // please provide a string of exactly 24 chars.
 // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
-$config['des_key'] = 'rcmail-!24ByteDESkey*Str';
+$config['des_key'] = trim(file(RCMAIL_CONFIG_DIR . '/session_key')[0]);
 
 // List of active plugins (in plugins/ directory)
 $config['plugins'] = array(