Shared:Api:Settings: change confirmKey type for validateTfaCode function
This commit is contained in:
parent
72c1eeec67
commit
b85b33bcc1
@ -717,7 +717,7 @@ export function getTfaSecretKeyAndQR(confirmKey = null) {
|
|||||||
return request(options);
|
return request(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function validateTfaCode(code, confirmKey = null) {
|
export function validateTfaCode(code, confirmKey: string | null = null) {
|
||||||
const data = {
|
const data = {
|
||||||
code,
|
code,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user