- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
14 lines
368 B
Twig
14 lines
368 B
Twig
<div class="group">
|
|
<h2>{% trans "Configure two-factor authentication" %}</h2>
|
|
<div class="group-cnt">
|
|
<form method="POST" action="prefs_twofactor.php">
|
|
{{ Url_getHiddenInputs() }}
|
|
<input type="hidden" name="2fa_configure" value="{{ configure }}" />
|
|
{{ form|raw }}
|
|
<input type="submit" value="{% trans "Enable two-factor authentication" %}" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
|