Skip to content

Commit

Permalink
🔒 : show the right registry for the oauth user type
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Jan 17, 2020
1 parent 3bb96e6 commit c999ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/templates/modules_import.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

<template id="template">
<div class="row">
<div class="col-md-4">
<div class="col-md-4" th:if="${user.oAuth2User.provider == 'github'}">
<b-card no-body>
<b-button size="lg" variant="outline-secondary" class="btn-github" squared @click="toggle('github')">
<i class="fab fa-github"></i> from Github
Expand All @@ -76,7 +76,7 @@
</template>
</b-card>
</div>
<div class="col-md-4">
<div class="col-md-4" th:if="${user.oAuth2User.provider == 'gitlab'}">
<b-card no-body>
<b-button size="lg" variant="outline-secondary" class="btn-gitlab" squared @click="toggle('gitlab')">
<i class="fab fa-gitlab"></i> from Gitlab
Expand Down

0 comments on commit c999ddc

Please sign in to comment.