mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -05:00
fix(core): should be able to update password in profile if verified via email (#6511)
This commit is contained in:
parent
13ae7923f8
commit
83a72dc3a5
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export const createVerificationStatusLibrary = (queries: Queries) => {
|
|||
assertThat(isValid, new RequestError({ code: 'session.verification_failed', status: 422 }));
|
||||
|
||||
assertThat(
|
||||
verificationStatus.verifiedIdentifier === identifier,
|
||||
!identifier || verificationStatus.verifiedIdentifier === identifier,
|
||||
new RequestError({ code: 'session.verification_failed', status: 422 })
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue