Page MenuHomePhabricator

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

Authored by marcin on Dec 29 2022, 4:45 AM.
Tags
None
Referenced Files
F2907265: D6098.diff
Sun, Oct 6, 10:44 AM
Unknown Object (File)
Sun, Sep 29, 3:40 AM
Unknown Object (File)
Sun, Sep 29, 3:39 AM
Unknown Object (File)
Tue, Sep 10, 9:04 PM
Unknown Object (File)
Sun, Sep 8, 9:30 PM
Unknown Object (File)
Sun, Sep 8, 9:30 PM
Unknown Object (File)
Fri, Sep 6, 3:51 PM
Unknown Object (File)
Fri, Sep 6, 3:51 PM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Dec 29 2022, 4:50 AM
Harbormaster failed remote builds in B14915: Diff 20332!
This revision is now accepted and ready to land.Dec 29 2022, 6:33 AM