mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-24 07:42:40 +01:00
41d2a09536
Summary: Adds "verified" and "secretKey" to Legalpad document signatures. For logged in users using an email address they own, things are verified right away. Otherwise, the email is sent a verification letter. When the user clicks the link the signature is marked verified. Test Plan: signed the document with a bogus email address not logged in. verified the email that would be sent looked good from command line. followed link and successfully verified bogus email address Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran, asherkin Maniphest Tasks: T4283 Differential Revision: https://secure.phabricator.com/D7930
8 lines
312 B
SQL
8 lines
312 B
SQL
ALTER TABLE {$NAMESPACE}_legalpad.legalpad_documentsignature
|
|
ADD secretKey VARCHAR(20) NOT NULL COLLATE utf8_bin;
|
|
|
|
ALTER TABLE {$NAMESPACE}_legalpad.legalpad_documentsignature
|
|
ADD verified TINYINT(1) DEFAULT 0;
|
|
|
|
ALTER TABLE {$NAMESPACE}_legalpad.legalpad_documentsignature
|
|
ADD KEY `secretKey` (secretKey);
|