Skip to content

Commit

Permalink
fix mfa codes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander committed Jan 17, 2025
1 parent e351a8c commit cabf5ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ const MFACodeForm = ({ description, token, proxyUrl, resetState }: MFACodeForm)
const finishMFA = async (code: string) => {
if (!location) return toaster.error(localLL.errors.mfaStartGeneric());

const data = { token, code: Number(code) };
const data = { token, code: code };

const response = await fetch<MFAFinishResponse>(proxyUrl + '/finish', {
method: 'POST',
Expand Down

0 comments on commit cabf5ac

Please sign in to comment.