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
Unknown Object (File)
Tue, Nov 5, 4:26 AM
Unknown Object (File)
Sun, Oct 27, 9:48 PM
Unknown Object (File)
Sun, Oct 27, 9:48 PM
Unknown Object (File)
Sun, Oct 27, 9:48 PM
Unknown Object (File)
Sun, Oct 27, 9:48 PM
Unknown Object (File)
Sun, Oct 27, 9:36 PM
Unknown Object (File)
Thu, Oct 24, 4:35 AM
Unknown Object (File)
Thu, Oct 24, 1:45 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

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