Topic on Extension talk:Ticket Authentication

Conflict with the Special:UserRights page

2
BertrandGorge (talkcontribs)

Hello,

When you activate TicketAuth and you go in the page: http://my.host.com/wiki/index.php?title=Special%3AUserRights&user=Bertrand+Gorge

It fails because the "user" is recognized by TicketAuth and it tries to connect.

We suggest the following change to the top lines of the code:

        $username = $wgRequest->getVal( 'user' );
        $sign = $wgRequest->getVal( 'sign' );
        $time = $wgRequest->getVal( 'time' );
        if ( $username == null || $username == '' ||
	     $sign == null || $sign == '' ||
	     $time == null || $time == '' )
                return false;

instead of

        $username = $wgRequest->getVal( 'user' );
        if ( $username == null || $username == '')
                return false;
CodeMonk (talkcontribs)

Ok, that's a good idea. I'll correct this in next version.

Reply to "Conflict with the Special:UserRights page"