HomePhabricator
Diffusion Comm f817183f750f

Implement logic to skip password validation when account does not have one

Description

Implement logic to skip password validation when account does not have one

Summary:
This differential implements new log to handle account deletion request. Firstly consistency of request and DB is checked against. If account deletion request does not have password then DB should have NULL value in hasn column and vice versa. Then if request is consistent with the DB,
request password validity is checked against only if hash column is not NULL. If request is not consistent with DB or DB hash does not match request password, error is thrown.

Test Plan: Create SIWE account, go to delete account panel, type any string in password input prompt and succesfully deletre account.

Reviewers: tomek, atul

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D6098

Details

Provenance
marcinAuthored on Dec 29 2022, 4:37 AM
Reviewer
tomek
Differential Revision
D6098: Implement logic to skip password validation when account does not have one
Parents
rCOMM5d99214912bc: Soften requirement for password in account deletion request
Branches
Unknown
Tags
Unknown