Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_u2f.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-19 11:33:27 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-22 17:22:00 +0300
commit0bb0a8e61b1d835e5d9f8f2553c01441fd989d1a (patch)
treefbea358a1e1c178d672fb48c7d28eaabb53cb6ec /templates
parent4da04fd450d7ce3a6ab6da399ddd95899c78d51b (diff)
Migrate to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'templates')
-rw-r--r--templates/personal.php24
1 files changed, 3 insertions, 21 deletions
diff --git a/templates/personal.php b/templates/personal.php
index 133b027..421831e 100644
--- a/templates/personal.php
+++ b/templates/personal.php
@@ -1,26 +1,8 @@
<?php
-script('twofactor_u2f', 'build/settings');
+script('twofactor_u2f', 'settings');
style('twofactor_u2f', 'style');
?>
-<div id="twofactor-u2f-settings">
- <span class="icon-loading-small u2f-loading"></span>
- <span><?php p($l->t('Loading your devices …')); ?></span>
+<input type="hidden" id="twofactor-u2f-initial-state" value="<?php p($_['state']); ?>">
- <p class="utf-register-info" style="display: none;">
- <?php p($l->t('Please plug in your U2F device and press the device button to authorize.')) ?>
- </p>
- <p class="utf-register-info" style="display: none;">
- <em>
- <?php p($l->t('Chrome is the only browser that supports U2F devices. You need to install the "U2F Support Add-on" on Firefox to use U2F.')) ?>
- <p id="u2f-http-warning"
- style="display: none">
- <?php p($l->t('You are accessing this site via an insecure connection. Browsers might therefore refuse the U2F authentication.')) ?>
- </p>
- </em>
- </p>
- <p class="utf-register-success" style="display: none;">
- <span class="icon-checkmark-color"
- style="width: 16px;"></span><?php p($l->t('U2F device successfully registered.')) ?>
- </p>
-</div>
+<div id="twofactor-u2f-settings"></div>