Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Make sure we're not registering the same 3pid twice #5071

Merged
merged 1 commit into from
Apr 17, 2019

Conversation

babolivier
Copy link
Contributor

If a user hits /register/{medium}/requestToken twice then clicks on each link from the two activation emails, they would register the same 3pid twice because we only check that in calls to requestToken.

@babolivier babolivier requested a review from a team April 17, 2019 11:16
@codecov
Copy link

codecov bot commented Apr 17, 2019

Codecov Report

Merging #5071 into develop will decrease coverage by 1.14%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           develop    #5071      +/-   ##
===========================================
- Coverage    61.57%   60.43%   -1.15%     
===========================================
  Files          332      328       -4     
  Lines        34271    34096     -175     
  Branches      5651     5628      -23     
===========================================
- Hits         21103    20605     -498     
- Misses       11653    12020     +367     
+ Partials      1515     1471      -44

@babolivier babolivier force-pushed the babolivier/3pid-check branch from 5b0bead to 600ec04 Compare April 17, 2019 13:23
@babolivier babolivier merged commit 49ff74d into develop Apr 17, 2019
@babolivier babolivier deleted the babolivier/3pid-check branch April 29, 2019 12:42
@babolivier babolivier restored the babolivier/3pid-check branch April 29, 2019 12:43
@babolivier babolivier deleted the babolivier/3pid-check branch September 27, 2019 09:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants