feat: support 2fA

This commit is contained in:
kawamataryo
2024-10-19 10:55:10 +09:00
parent 7e79d62a10
commit 1df5e2ba76
5 changed files with 12 additions and 3 deletions

View File

@@ -46,6 +46,7 @@ const App = () => {
body: {
identifier: string;
password: string;
authFactorToken?: string;
};
},
_sender: chrome.runtime.MessageSender,
@@ -56,6 +57,9 @@ const App = () => {
identifier: message.body.identifier,
password: message.body.password,
messageName: message.name,
...(message.body.authFactorToken && {
authFactorToken: message.body.authFactorToken,
}),
})
.then(() => {
sendResponse({ hasError: false });