0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix(ui): update password sign-in link state value

fix verification-code switch to password sign-in page session not found bug
This commit is contained in:
simeng-li 2023-02-16 10:58:26 +08:00
parent fd1f81cbe9
commit dd4f1a9237
No known key found for this signature in database
GPG key ID: 14EA7BB1541E8075

View file

@ -18,7 +18,7 @@ const PasswordSignInLink = ({ className, method, target }: Props) => {
icon={<SwitchIcon />}
text="action.sign_in_via_password"
to={`/${UserFlow.signIn}/password`}
state={{ [method]: target }}
state={{ identifier: method, value: target }}
/>
);
};