{% extends 'Game/index.html.twig' %} {% block title %} - Security Settings{% endblock %} {% block metas %} {%- set _ogImage = 'https://' ~ app.request.host ~ asset('/images/mine-1600x627.png') -%} {% endblock %} {% block body %}
Back to Profile

Passkeys (WebAuthn)

Passkeys provide a secure, passwordless way to sign in to your account. Manage your registered passkeys below.

Two-Factor Authentication

Add an extra layer of security by requiring a one-time code from your authenticator app each time you sign in with a password.

{% set newBackupCodes = app.flashes('2fa_backup_codes') %} {% if isTotpEnabled %}
Two-factor authentication is active.
{% if newBackupCodes|length > 0 %}

Save these backup codes now — they will not be shown again.

{% for code in newBackupCodes[0] %} {{ code }} {% endfor %}
{% endif %}
{{ backupCodesCount }} backup code{{ backupCodesCount != 1 ? 's' : '' }} remaining
{% else %}
Two-factor authentication is not enabled.
{% endif %}

Password changing

The password changing only possible through the Forgot password functionality on the Login page. The system would log you out anyway after requesting a new password, so this feature wasn't implemented here.

{% endblock %} {% block stylesheets %} {{ parent() }} {{ vite_entry_link_tags('passkeyStyle') }} {% endblock %} {% block javascripts %} {{ parent() }} {{ vite_entry_script_tags('passkey') }} {% endblock %}