PHP Classes
elePHPant
Icontem

File: src/Cabin/Bridge/View/cargo/two_factor.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/View/cargo/two_factor.twig  >  Download  
File: src/Cabin/Bridge/View/cargo/two_factor.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 1 year ago
Size: 1,010 bytes
 

Contents

Class file image Download
<h2>{{ __("Two-Factor Authentication") }}</h2>
<p class="text-center">
    {{ __("Scan this QR code in your Two-Factor Authentication App:") }}
</p>
<p class="text-center">
    <img src="{{ cabin_url() }}my/account/2-factor/qr-code" alt="QR code" />
</p>
<form method="post">{{ form_token() }}
    <fieldset id="two-factor-options">
        <input
            id="enable_two_factor"
            type="checkbox"
            name="enable_two_factor"
            value="1"{% if enabled %}
            checked="checked"{% endif %}
        />
        <label for="enable_two_factor">{{ __("Enable Two-Factor Authentication?") }}</label>
        <br />
        <input
            id="reset_secret"
            type="checkbox"
            name="reset_secret"
            value="1"
        />
        <label for="reset_secret">{{ __("Reset your two-factor authentication secret?") }}</label>
    </fieldset>
    <button class="pure-button pure-button-primary">
        {{ __("Save Preferences") }}
    </button>
</form>