[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% is_enrolment = action == "enable" %] [% js = BLOCK %] $(function() { $('#recovery-toggle') .click(function(event) { event.preventDefault(); if ($('#duo_container').is(':visible')) { $('#duo_container').hide(); $('#recovery').show(); $('#code').attr('required', true).focus(); $('#recovery-submit').attr('disabled', false); $(this).text('Verify using Duo Security'); } else { $('#duo_container').show(); $('#recovery').hide(); $('#code').attr('required', false); $('#recovery-submit').attr('disabled', true); $(this).text('Verify using a recovery code'); } }); }); [% END %] [% css = BLOCK %] #duo_container { background: #fff url(skins/standard/throbber.gif) 10px 10px no-repeat; width: 620px; height: 330px; border: 1px solid #000; } [% END %] [% INCLUDE global/header.html.tmpl title = "Account Verification" javascript_urls = ['js/duo-min.js'] javascript = js style = css %]

Account Verification

[% reason FILTER html %] requires verification.
[% UNLESS is_enrolment %] Verify using a recovery code. [% END %]

[% FOREACH field IN postback.fields.keys %] [% END %] [% UNLESS is_enrolment %] [% END %]
[% INCLUDE global/footer.html.tmpl %]