Move Gitlab and Github authentication to external plugins

This commit is contained in:
Frederic Guillot
2016-01-29 23:59:58 -05:00
parent 04d8c6532c
commit 9b9d823f30
46 changed files with 6 additions and 1177 deletions

View File

@@ -39,17 +39,4 @@
<?php endif ?>
<?= $this->hook->render('template:auth:login-form:after') ?>
<?php if (GITHUB_AUTH || GITLAB_AUTH): ?>
<ul class="no-bullet">
<?php if (GITHUB_AUTH): ?>
<li><?= $this->url->link(t('Login with my Github Account'), 'oauth', 'github') ?></li>
<?php endif ?>
<?php if (GITLAB_AUTH): ?>
<li><?= $this->url->link(t('Login with my Gitlab Account'), 'oauth', 'gitlab') ?></li>
<?php endif ?>
</ul>
<?php endif ?>
</div>