Provide more copy for insufficient oauth permissions.

This commit is contained in:
Mathias Meyer 2014-03-10 12:45:52 +01:00
parent a141f4b8a4
commit f44e3eadb3

View File

@ -2,11 +2,20 @@
<img src="/images/travis-crying.png" class="sad-travis" width="150">
<p class="insufficient-permissions-head">
Oops, looks like something went wrong!
Sorry, something went missing.
</p>
<p class="insufficient-permissions-more">
It looks like we don't have authorization to access your GitHub account.<br>
Please review your GitHub settings and try again.
It looks like we don't have sufficient privileges for your GitHub account.<br/>
This can happen for different reasons, most commonly due to an older token<br/>
stored on our end, or because some of the permissions have been removed<br/>
from the token. Unfortunately we need those to provide you with the best service.<br/>
<br/>
Luckily, the issue can be easily corrected by going through the login flow<br/>
once again. Make sure the permissions we ask for are all available.<br/>
<br/>
For more information about the OAuth scopes and what we need them for,<br/>
[check our documentation on this topic](http://docs.travis-ci.com/user/github-oauth-scopes/).
</p>
<div class="insufficient-permissions-row">