If the user signs for one account the first link used will be credited. If the user signs up twice with different email addresses, the account that gets a paid subscription gets credited with the referral.