Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 6e80273

Browse files
authored
Merge pull request #93 from silinternational/develop
Release 7.4.0
2 parents 984c62f + 0525e39 commit 6e80273

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

themes/material/mfa/prompt-for-mfa-u2f.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ function createHiddenInput(name) {
8787
</script>
8888
</head>
8989

90-
<?php $isU2fSupported = $this->data['supportsU2f']; ?>
91-
92-
<body class="gradient-bg" onload="<?= $isU2fSupported ? 'verifyU2f()' : '' ?>">
90+
<body class="gradient-bg" onload="verifyU2f()">
9391
<div class="mdl-layout mdl-layout--fixed-header fill-viewport">
9492
<header class="mdl-layout__header">
9593
<div class="mdl-layout__header-row">
@@ -113,19 +111,11 @@ class="icon">
113111
</h1>
114112
</div>
115113

116-
<?php if ($isU2fSupported): ?>
117114
<div class="mdl-card__title">
118115
<p class="mdl-card__subtitle-text">
119116
<?= $this->t('{material:mfa:u2f_instructions}') ?>
120117
</p>
121118
</div>
122-
<?php else: ?>
123-
<div class="mdl-card__title">
124-
<p class="mdl-typography--text-center mdl-color-text--red">
125-
<?= $this->t('{material:mfa:u2f_unsupported}') ?>
126-
</p>
127-
</div>
128-
<?php endif; ?>
129119

130120
<?php
131121
$message = $this->data['errorMessage'];

0 commit comments

Comments
 (0)