Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more descriptive error

  • Loading branch information...
commit ac1cf7cbc69d747b34697688eb3baf6ffc172792 1 parent baa8828
@mikesmullin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  controllers/components/o_auth2.php
View
2  controllers/components/o_auth2.php
@@ -88,7 +88,7 @@ function getCurrentUserId($throwExceptionOnFail = true) {
}
}
if ($throwExceptionOnFail) {
- throw new Exception(__('Invalid or expired access_token.', true));
+ throw new Exception(__('Invalid, expired, or underprivileged access_token.', true));
return false;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.