<div class="group"> <h2> {% trans "Two-factor authentication status" %} {{ Util_showDocu('two_factor') }} </h2> <div class="group-cnt"> {% if enabled %} {% if num_backends == 0 %} <p>{% trans "Two-factor authentication is not available, please install optional dependencies to enable authentication backends." %}</p> <p>{% trans "Following composer packages are missing:" %}</p> <ul> {% for item in missing %} <li><code>{{ item.dep }}</code> ({{ item.class }})</li> {% endfor %} </ul> {% else %} {% if backend_id %} <p>{% trans "Two-factor authentication is available and configured for this account." %}</p> {% else %} <p>{% trans "Two-factor authentication is available, but not configured for this account." %}</p> {% endif %} {% endif %} {% else %} <p>{% trans "Two-factor authentication is not available, enable phpMyAdmin configuration storage to use it." %}</p> {% endif %} </div> </div> {% if backend_id %} <div class="group"> <h2>{{ backend_name }}</h2> <div class="group-cnt"> <p>{% trans "You have enabled two factor authentication." %}</p> <p>{{ backend_description }}</p> <form method="POST" action="prefs_twofactor.php"> {{ Url_getHiddenInputs() }} <input type="submit" name="2fa_remove" value="{% trans "Disable two-factor authentication" %}" /> </form> </div> </div> {% elseif num_backends > 0 %} <div class="group"> <h2>{% trans "Configure two-factor authentication" %}</h2> <div class="group-cnt"> <form method="POST" action="prefs_twofactor.php"> {{ Url_getHiddenInputs() }} {% for backend in backends %} <label> <input type="radio" name="2fa_configure" {% if backend["id"] == "" %}checked="checked"{% endif %} value="{{ backend["id"] }}"/> <strong>{{ backend["name"] }}</strong> <p>{{ backend["description"] }}</p> </label> {% endfor %} <input type="submit" value="{% trans "Configure two-factor authentication" %}" /> </form> </div> </div> {% endif %}
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
columns_definitions | Folder | 0755 |
|
|
components | Folder | 0755 |
|
|
config | Folder | 0755 |
|
|
console | Folder | 0755 |
|
|
database | Folder | 0755 |
|
|
display | Folder | 0755 |
|
|
encoding | Folder | 0755 |
|
|
error | Folder | 0755 |
|
|
export | Folder | 0755 |
|
|
javascript | Folder | 0755 |
|
|
list | Folder | 0755 |
|
|
login | Folder | 0755 |
|
|
navigation | Folder | 0755 |
|
|
privileges | Folder | 0755 |
|
|
server | Folder | 0755 |
|
|
table | Folder | 0755 |
|
|
test | Folder | 0755 |
|
|
checkbox.twig | File | 369 B | 0644 |
|
div_for_slider_effect.twig | File | 694 B | 0644 |
|
dropdown.twig | File | 502 B | 0644 |
|
filter.twig | File | 305 B | 0644 |
|
fk_checkbox.twig | File | 218 B | 0644 |
|
header_location.twig | File | 676 B | 0644 |
|
prefs_autoload.twig | File | 702 B | 0644 |
|
prefs_twofactor.twig | File | 1.83 KB | 0644 |
|
prefs_twofactor_configure.twig | File | 368 B | 0644 |
|
prefs_twofactor_confirm.twig | File | 480 B | 0644 |
|
preview_sql.twig | File | 309 B | 0644 |
|
radio_fields.twig | File | 401 B | 0644 |
|
secondary_tabs.twig | File | 150 B | 0644 |
|
select_all.twig | File | 389 B | 0644 |
|
select_lang.twig | File | 874 B | 0644 |
|
start_and_number_of_rows_panel.twig | File | 794 B | 0644 |
|
theme_preview.twig | File | 507 B | 0644 |
|
toggle_button.twig | File | 1023 B | 0644 |
|
view_create.twig | File | 4.65 KB | 0644 |
|