summaryrefslogtreecommitdiffstats
path: root/core/templates/login.php
diff options
context:
space:
mode:
authorJochen <rothjochen@gmail.com>2019-09-09 20:31:08 +0200
committerJochen <rothjochen@gmail.com>2019-09-09 20:31:08 +0200
commite0ee53a5f0f859514c6fa985f4c22ef218503a3c (patch)
tree6c6e6a16506a5cfa55b58de8d6affaf77c098ef4 /core/templates/login.php
parent493a756f3bb119ba365dbe26a0ae8e699d02feda (diff)
downloadnextcloud-server-e0ee53a5f0f859514c6fa985f4c22ef218503a3c.tar.gz
nextcloud-server-e0ee53a5f0f859514c6fa985f4c22ef218503a3c.zip
Added name as fallback, in case label is not set
https://github.com/nextcloud/server/pull/16832#discussion_r322380822 Signed-off-by: Jochen <rothjochen@gmail.com>
Diffstat (limited to 'core/templates/login.php')
-rw-r--r--core/templates/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 4daae2cb96d..e088ac39917 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -8,7 +8,7 @@ script('core', 'dist/login');
<?php if (!empty($_['alt_login'])) { ?>
<div id="alternative-logins">
<?php foreach($_['alt_login'] as $login): ?>
- <a class="button <?php p($login['style'] ?? ''); ?>" aria-label="<?php p($login['label'] ?? ''); ?>" href="<?php print_unescaped($login['href']); ?>" >
+ <a class="button <?php p($login['style'] ?? ''); ?>" aria-label="<?php p($login['label'] ?? $login['name']); ?>" href="<?php print_unescaped($login['href']); ?>" >
<?php p($login['name']); ?>
</a>
<?php endforeach; ?>