hackclub / toriel

👋 A friendly bot that assists new members with joining Hack Club
https://toriel.hackclub.com
33 stars 15 forks source link

Already invited email should still send an email #205

Closed maxwofford closed 5 months ago

maxwofford commented 7 months ago

When signing up with an email already invited, slack doesn't send a second invite email. We should instead be detecting this scenario and emailing the user that they've already been invited with a link to sign in.

Important note: we don't want to display a "this email has already been invited" because that could lead to email testing attacks.

karamassie commented 6 months ago

This flow is also the same when theyre deactivated. (This is def a smaller prio because very uncommon.) They try to sign up but they get no email.