https://bugzilla.wikimedia.org/show_bug.cgi?id=21991

--- Comment #5 from Reedy <s...@reedyboy.net> 2010-02-14 22:37:55 UTC ---
It seems there is only one hashed token...

        if ( !$wgUser->matchEditToken( $params['token'], $user->getName() ) )

in ApiUserrights.php

Simplest way to deal with this, would seem to be, in that module, don't have
the checks done in ApiMain for this.

Or we have another method property like

public function checkToken() {
return true;
}

And default this to false for this module, and it can hash check it's own way
if it wants...

Either or seems to be sensible

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to