Merge lp:~stevenk/launchpad/remove-logintokens-on-merge into lp:launchpad
Proposed by
Steve Kowalik
on 2012-09-14
| Status: | Merged |
|---|---|
| Approved by: | Steve Kowalik on 2012-09-14 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15968 |
| Proposed branch: | lp:~stevenk/launchpad/remove-logintokens-on-merge |
| Merge into: | lp:launchpad |
| Diff against target: |
71 lines (+24/-1) 3 files modified
database/schema/security.cfg (+1/-1) lib/lp/registry/doc/person-merge.txt (+15/-0) lib/lp/registry/model/person.py (+8/-0) |
| To merge this branch: | bzr merge lp:~stevenk/launchpad/remove-logintokens-on-merge |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ian Booth (community) | 2012-09-14 | Approve on 2012-09-14 | |
|
Review via email:
|
|||
Commit Message
Delete all LoginToken rows for the mergee on person merge.
Description of the Change
When people are merged, LoginToken's are transferred. This allows people to subvert ~registry-experts email by creating a person, adding an unvalidated email, deleting the person and then validating the mail. Deal with this by removing all LoginToken's on merge.
To post a comment you must log in.

Looks good to me but I'm not overly familiar with this part of the code base.