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)
Wed, Jul 3, 5:56 PM
Unknown Object (File)
Sun, Jun 30, 11:50 AM
Unknown Object (File)
Thu, Jun 27, 9:09 PM
Unknown Object (File)
Thu, Jun 27, 10:05 AM
Unknown Object (File)
Wed, Jun 26, 2:30 PM
Unknown Object (File)
Wed, Jun 26, 6:15 AM
Unknown Object (File)
Mon, Jun 24, 3:38 PM
Unknown Object (File)
Sun, Jun 23, 10:49 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