diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-12 21:19:13 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-12 21:19:13 +0300 |
| commit | addacf36d1ee080158b7acba44b70d31e1edb3da (patch) | |
| tree | 8f3641e0d52274cde1d7eebab63a8b80290030ed /src/components | |
| parent | f70fe28f644c037326a1d2c1fdffbf6d365e0a02 (diff) | |
mfa: removed unused code
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/login_form/login_form.js | 2 | ||||
| -rw-r--r-- | src/components/mfa_form/totp_form.js | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/components/login_form/login_form.js b/src/components/login_form/login_form.js index 0b574a04..0d8f1da6 100644 --- a/src/components/login_form/login_form.js +++ b/src/components/login_form/login_form.js @@ -58,7 +58,7 @@ const LoginForm = { ).then((result) => { if (result.error) { if (result.error === 'mfa_required') { - this.requireMFA({ app: app, settings: result }) + this.requireMFA({ settings: result }) } else if (result.identifier === 'password_reset_required') { this.$router.push({ name: 'password-reset', params: { passwordResetRequested: true } }) } else { diff --git a/src/components/mfa_form/totp_form.js b/src/components/mfa_form/totp_form.js index 1ec7576b..b774f2d0 100644 --- a/src/components/mfa_form/totp_form.js +++ b/src/components/mfa_form/totp_form.js @@ -7,7 +7,6 @@ export default { }), computed: { ...mapGetters({ - authApp: 'authFlow/app', authSettings: 'authFlow/settings' }), ...mapState({ |
