Display ALL organisations, including private ones
When authorised by GitHub OAuth scope, allows to select any
type of organisation, including private ones.
Change-Id: Id2970f0f0ac09563cc801056a23ae3099e098762
diff --git a/github-plugin/src/main/resources/static/repositories.html b/github-plugin/src/main/resources/static/repositories.html
index 84b92fd..a3bfa0e 100644
--- a/github-plugin/src/main/resources/static/repositories.html
+++ b/github-plugin/src/main/resources/static/repositories.html
@@ -46,7 +46,7 @@
<input class="keycheckbox" type="checkbox" id="selectallcheckbox" checked="checked"/>
<select id="organisation" name="organisation">
<option selected="selected">$myself.login</option>
- #foreach( $organisation in $myself.organizations )
+ #foreach( $organisation in $myself.allOrganizations )
<option>$organisation.login</option>
#end
</select><label class="repository"> / Repository name</label>