add ssl_no_verify option to all http exports, RT#29298
[freeside.git] / rt / bin / rt-mailgate.in
index a74b2da..d6e80b8 100644 (file)
@@ -3,7 +3,7 @@
 #
 # COPYRIGHT:
 #
-# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
 #                                          <sales@bestpractical.com>
 #
 # (Except where explicitly superseded by other copyright notices)
@@ -81,9 +81,7 @@ unless ( $opts{'url'} ) {
 my $ua = new LWP::UserAgent;
 $ua->cookie_jar( { file => $opts{'jar'} } ) if $opts{'jar'};
 
-my %args = (
-    SessionType => 'REST', # Surpress login box
-);
+my %args;
 foreach ( qw(queue action) ) {
     $args{$_} = $opts{$_} if defined $opts{$_};
 };