Commit Graph

8 Commits

Author SHA1 Message Date
Ray J. Greenwell 77b02552b1 Match changes to the Depot user repo commited in r....
Oh hello, git.
I mean... "change 4e5882cb4b89bb084ba3a63d6060323a2b371f98".
Yeah. Hm.

Anyway, fix validation records so that we only store one and it
corresponds to the latest email address.
2011-11-04 15:14:54 -07:00
Ray J. Greenwell 4e5882cb4b Uhhh... WHY do we want to re-use the validation record? Don't.
The validation record doesn't have an email address in it.
When we change the user's email address we create a validation record.

So, with the re-use, the following would work:
1) Set your email address to real.address@site.com, a validation email
   is sent.
2) Don't click it! Instead, go back and change your email address to
   fake.address@fakeyfake.com, another validation email is sent (but
   bounces).
3) Click on the link in the first email. Ta-dah! You've "validated"
   fake.address@fakeyfake.com!!

So: generate a new validation code every time we're asked to create
one for the user.

Right? Right?
2011-11-03 18:45:53 -07:00
Michael Bayne 94b6d1d9f2 Added changeEmailAndInvalidate as well as flag manipulation methods. 2011-10-21 10:33:34 -07:00
Michael Bayne 292aba7fde Switch to install and deploy targets. 2011-10-13 12:23:26 -07:00
Michael Bayne 4c03d17fc8 Move to next snapshot version. 2011-10-05 09:42:44 -07:00
Michael Bayne afab3a1762 Ship a 1.0 release. 2011-10-05 09:42:12 -07:00
Michael Bayne 736d7405f5 Fixed some deprecated Interval usage. 2011-10-05 09:40:39 -07:00
Michael Bayne 1d78bbe27b Extracted ooo-user bits into separate library. 2011-10-05 09:37:10 -07:00