aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/login.php
diff options
context:
space:
mode:
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; ?>