Remove ticket parameter from auto added hidden fields.
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Thu, 7 May 2009 14:18:07 +0000 (16:18 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Mon, 23 Nov 2009 15:37:54 +0000 (16:37 +0100)
(Normal login directly after a failed CAS login didn't work previously to this removal)

C4/Auth.pm

index d59721d..3c34abc 100755 (executable)
@@ -874,7 +874,7 @@ sub checkauth {
     # get the inputs from the incoming query
     my @inputs = ();
     foreach my $name ( param $query) {
-        (next) if ( $name eq 'userid' || $name eq 'password' );
+        (next) if ( $name eq 'userid' || $name eq 'password' || $name eq 'ticket' );
         my $value = $query->param($name);
         push @inputs, { name => $name, value => $value };
     }