aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/css/login/authpicker.css5
-rw-r--r--core/templates/loginflow/authpicker.php8
-rw-r--r--core/templates/loginflowv2/authpicker.php6
3 files changed, 12 insertions, 7 deletions
diff --git a/core/css/login/authpicker.css b/core/css/login/authpicker.css
index 3603a7906e4..d245c48680f 100644
--- a/core/css/login/authpicker.css
+++ b/core/css/login/authpicker.css
@@ -7,3 +7,8 @@
border-radius: 3px;
cursor: default;
}
+
+.apptoken-link {
+ margin: 20px;
+ display: block;
+}
diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php
index 02b4b9cc003..e0980a8d2b3 100644
--- a/core/templates/loginflow/authpicker.php
+++ b/core/templates/loginflow/authpicker.php
@@ -64,8 +64,8 @@ $urlGenerator = $_['urlGenerator'];
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>">
<input id="submit-app-token-login" type="submit" class="login primary icon-confirm-white" value="<?php p($l->t('Grant access')) ?>">
</form>
-</div>
-<?php if (empty($_['oauthState'])): ?>
-<a id="app-token-login" class="warning" href="#"><?php p($l->t('Alternative log in using app token')) ?></a>
-<?php endif; ?>
+ <?php if (empty($_['oauthState'])): ?>
+ <a id="app-token-login" class="apptoken-link" href="#"><?php p($l->t('Alternative log in using app token')) ?></a>
+ <?php endif; ?>
+</div>
diff --git a/core/templates/loginflowv2/authpicker.php b/core/templates/loginflowv2/authpicker.php
index 468eed99e35..af49ed6d760 100644
--- a/core/templates/loginflowv2/authpicker.php
+++ b/core/templates/loginflowv2/authpicker.php
@@ -65,7 +65,7 @@ $urlGenerator = $_['urlGenerator'];
<input id="submit-app-token-login" type="submit" class="login primary icon-confirm-white" value="<?php p($l->t('Grant access')) ?>">
</form>
+ <?php if (empty($_['oauthState'])): ?>
+ <a id="app-token-login" class="apptoken-link" href="#"><?php p($l->t('Alternative log in using app token')) ?></a>
+ <?php endif; ?>
</div>
-<?php if (empty($_['oauthState'])): ?>
- <a id="app-token-login" class="warning" href="#"><?php p($l->t('Alternative log in using app token')) ?></a>
-<?php endif; ?>