ipasserelle-webapps/root/etc/e-smith/db/configuration/migrate/90Ajaxplorer

12 lines
258 B
Plaintext

{
my $rec = $DB->get('ajaxplorer')
|| $DB->new_record('ajaxplorer', {type => 'webapp'});
my $url = $rec->prop('LogoutUrl');
if (not $url){
$url = 'https://auth.' . $DomainName;
$rec->set_prop('LogoutUrl', $url);
}
}