Skip to content
Snippets Groups Projects
Commit accd7e60 authored by Jan Pavlíček's avatar Jan Pavlíček
Browse files

chore: merge branch 'xpavlic/disco_fix' into 'main'

fix: setup-mfa-tpl button look

See merge request !59
parents 1c44ef07 a94693c0
No related branches found
No related tags found
1 merge request!59fix: setup-mfa-tpl button look
Pipeline #519156 passed with stages
in 1 minute and 52 seconds
......@@ -11,12 +11,11 @@ $this->includeAtTemplateBase('includes/header.php');
<div>
<p><?php echo $this->t('{authswitcher:mfa:setup_mfa_text}'); ?></p>
<?php if (!empty($this->data[SwitchAuth::PARAM_MFA_REDIRECT_URL])) { ?>
<a class="btn btn-lg btn-primary"
href="<?php echo $this->data[SwitchAuth::PARAM_MFA_REDIRECT_URL]; ?>">
<span><?php echo $this->t('{authswitcher:mfa:manage_tokens_button}'); ?></span>
</a>
<form action="<?php echo htmlspecialchars($this->data[SwitchAuth::PARAM_MFA_REDIRECT_URL]); ?>" method="GET">
<input type="submit" class="btn btn-lg btn-primary"
value="<?php echo $this->t('{authswitcher:mfa:manage_tokens_button}'); ?>">
</form>
<?php } ?>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment