@@ -18,8 +18,11 @@ |
||
18 | 18 | <input type='hidden' id='operation' name='operation' value='AUTH'/> |
19 | 19 | <button type='button' id='authformSubmit'><?php echo htmlspecialchars($this->t('{webauthn:webauthn:authTokenButton}')); ?></button> |
20 | 20 | </form> |
21 | - <?php else: ?> |
|
22 | - <p>Please first register your token on the <a href="<?php echo htmlspecialchars(SimpleSAML\Module::getModuleURL('webauthn/registration.php')); ?>">registration page</a> before continuing. |
|
21 | + <?php else { |
|
22 | + : ?> |
|
23 | + <p>Please first register your token on the <a href="<?php echo htmlspecialchars(SimpleSAML\Module::getModuleURL('webauthn/registration.php')); |
|
24 | +} |
|
25 | +?>">registration page</a> before continuing. |
|
23 | 26 | <?php endif; ?> |
24 | 27 | <script src="<?php echo htmlspecialchars(SimpleSAML\Module::getModuleUrl('webauthn/')); ?>assets/js/webauthn.js"></script> |
25 | 28 | <script src="<?php echo htmlspecialchars(SimpleSAML\Module::getModuleUrl('webauthn/')); ?>assets/js/authentication.js"></script> |