Skip to content

Commit

Permalink
Action: Distinguish between missing-parameters from auth and normal a…
Browse files Browse the repository at this point in the history
…ctions

`
  • Loading branch information
Krinkle committed May 14, 2013
1 parent 082b37d commit 7eb6634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ final protected function doRequireAuth( $project = null ) {
$authToken = $request->getVal( 'authToken' );

if ( !$authID || !$authToken ) {
$this->setError( 'missing-parameters' );
$this->setError( 'missing-parameters', 'One or more required authentication parameters were not submitted.' );
return false;
}

Expand Down

0 comments on commit 7eb6634

Please sign in to comment.