Skip to content
Merged

MFA #405

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use the correct param name for the MFA code
  • Loading branch information
dantownsend committed Aug 22, 2024
commit c8b59fb7ba24d1ac13caacadecfd999f8e79c848
4 changes: 3 additions & 1 deletion admin_ui/src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export default defineComponent({
await axios.post(`./public/login/`, {
username: this.username,
password: this.password,
...(this.mfaCodeRequired ? { mfaCode: this.mfaCode } : {})
...(this.mfaCodeRequired
? { authenticator_token: this.mfaCode }
: {})
})
} catch (error) {
console.log("Request failed")
Expand Down