generated from smedev/Template-for-SMEServer-Core-Package
* Mon Feb 17 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-7.sme
- fix roundcube not accessible after install [SME: 12928] - avoid need to relog in case of reloading of configuration [SME: 12929]
This commit is contained in:
@@ -113,14 +113,7 @@ $config['x_frame_options'] = 'sameorigin';
|
||||
// in the session record (and the client cookie if remember password is enabled).
|
||||
// please provide a string of exactly 24 chars.
|
||||
{
|
||||
use MIME::Base64 qw(encode_base64);
|
||||
open( RANDOM, "/dev/urandom" );
|
||||
my $buf;
|
||||
read( RANDOM, $buf, 17);
|
||||
my $pwd = encode_base64($buf);
|
||||
chomp $pwd;
|
||||
close RANDOM;
|
||||
$OUT .= "\$config['des_key'] = \'$pwd\' ;\n";
|
||||
$OUT .= "\$config['des_key'] = \'".$roundcube{'des_key'}."\' ;\n";
|
||||
}
|
||||
|
||||
// Automatically add this domain to user names for login
|
||||
|
Reference in New Issue
Block a user