Skip to content
Snippets Groups Projects

adds 2FA/two_factor_authentication support

Merged Maksim requested to merge parallel588/pleroma-fe:feature/2fa into develop
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -73,7 +73,9 @@ const UserSettings = {
},
watch: {
setupOtp (value) {
this.getOTPPRovisionUrl()
if (value) {
this.getOTPPRovisionUrl()
}
}
},
methods: {
@@ -307,6 +309,7 @@ const UserSettings = {
.then((res) => {
if (res.status === 'success') {
this.otpEnabled = true
this.setupOtp = false
} else {
this.otpError = res.error
}
Loading