import { Component } from '../../../lib/vues6/vues6.js' import { session } from '../../service/Session.service.js' import { password_service } from '../../service/Password.service.js' import { auth_api } from '../../service/AuthApi.service.js' import { location_service } from '../../service/Location.service.js' import { message_service } from '../../service/Message.service.js' import { utility } from '../../service/Utility.service.js' import { profile_service } from '../../service/Profile.service.js' const template = `
Your password was last changed on {{ last_reset }}.
MFA is a good-practice security measure that requires you to provide a second factor of identification when you sign in from a service or device that makes use of {{ app_name }}.
Once enabled, {{ app_name }} will prompt you to enter a code when you sign-in with the {{ app_name }} web interface from a new device. It will also require you to append the code to your password when signing in to a service that uses {{ app_name }} as a backend.
MFA was enabled for your account on {{ mfa_enable_date }}.
App passwords are specially generated passwords that allow you to sign into legacy services with your {{ app_name }} account.
You should only use this to authenticate against a service that needs to repeatedly use your password on your behalf (e.g. e-mail clients).
Use these with caution, as they can bypass your multi-factor authentication.
You have {{ app_passwords.length }} app {{ app_passwords.length === 1 ? 'password' : 'passwords' }} associated with your account.
Recovery codes can be used to regain access to your account in the event that you lose access to the device that generates your MFA codes.
No recovery codes have been generated for your account.