Make sure we do not pass multiple CGI parameters in function calls
[ikiwiki.git] / IkiWiki / Plugin / openid.pm
index 3b96e4b8e411c5f29afc25b58e15cdfd9f70121d..63112d9836342b3c29b04e046ac7f3fc5aeec48c 100644 (file)
@@ -223,7 +223,7 @@ sub auth ($$) {
        }
        elsif (defined $q->param('openid_identifier')) {
                # myopenid.com affiliate support
-               validate($q, $session, $q->param('openid_identifier'));
+               validate($q, $session, scalar $q->param('openid_identifier'));
        }
 }