diff options
Diffstat (limited to 'packages/bank-ui/src/pages/LoginForm.tsx')
-rw-r--r-- | packages/bank-ui/src/pages/LoginForm.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/bank-ui/src/pages/LoginForm.tsx b/packages/bank-ui/src/pages/LoginForm.tsx index 904cd39d2..7eed0cd9e 100644 --- a/packages/bank-ui/src/pages/LoginForm.tsx +++ b/packages/bank-ui/src/pages/LoginForm.tsx @@ -79,8 +79,7 @@ export function LoginForm({ ? undefined : withErrorHandler( async () => - authenticator(username).createAccessToken(password, { - // scope: "readwrite" as "write", // FIX: different than merchant + authenticator(username).createAccessTokenBasic(username, password, { scope: "readwrite", duration: { d_us: "forever" }, refreshable: true, |