]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove 'Alternative login using app token' in case of oauth login
authorBjoern Schiessle <bjoern@schiessle.org>
Fri, 12 May 2017 10:00:24 +0000 (12:00 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Thu, 18 May 2017 18:49:05 +0000 (20:49 +0200)
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
core/templates/loginflow/authpicker.php

index 127a1156a68123c1085afb55575db506036d324d..c427d657e4a8efc1e2e16d37914e98e9ec7fed58 100644 (file)
@@ -54,4 +54,6 @@ $urlGenerator = $_['urlGenerator'];
        </fieldset>
 </div>
 
+<?php if(empty($_['oauthState'])): ?>
 <a id="app-token-login" class="warning" href="#"><?php p($l->t('Alternative login using app token')) ?></a>
+<?php endif; ?>