Génération d'une clef
This commit is contained in:
parent
59509359aa
commit
beaa60162e
|
@ -60,6 +60,9 @@ $conf->{'exportedVars'}->{'extension'} = 'extensionNumber' unless ($conf->{'expo
|
|||
$conf->{'exportedVars'}->{'nom'} = 'sn' unless ($conf->{'exportedVars'}->{'nom'});
|
||||
$conf->{'exportedVars'}->{'prenom'} = 'givenName' unless ($conf->{'exportedVars'}->{'prenom'});
|
||||
|
||||
# Initialize a random key
|
||||
$conf->{'key'} = join( '', map { chr( int( rand(94) ) + 33 ) } ( 1 .. 16 ) ) unless ($conf->{'key'});
|
||||
|
||||
# Some other defaults config
|
||||
$conf->{'timeout'} = '28800' if ($conf->{'timeout'} eq '72000');
|
||||
$conf->{'portalDisplayAppslist'} = '1';
|
||||
|
|
Loading…
Reference in New Issue