Back to Peertube

My Account Two Factor.Component

client/src/app/+my-account/my-account-settings/my-account-two-factor/my-account-two-factor.component.html

8.1.5593 B
Original Source

@if (twoFactorAlreadyEnabled === true) {

Two factor authentication is already enabled. } @if (twoFactorAlreadyEnabled === false) { @if (step === 'request') { Your password Confirm your password to enable two factor authentication } @else if (step === 'confirm') {

Scan this QR code into a TOTP app on your phone. This app will generate tokens that you will have to enter when logging in.

If you can't scan the QR code and need to enter it manually, here is the plain-text secret:

{{ twoFactorSecret }} Two-factor code Enter the code generated by your authenticator app to confirm } }