accounts icon indicating copy to clipboard operation
accounts copied to clipboard

RFC primary email concept

Open pradel opened this issue 5 years ago • 2 comments

I was thinking, since a user can have multiple emails it's pretty hard to know on which email we need to send the emails (eg: your password has been changed). Maybe we should introduce a concept of a primary email so we know where the user want to be contacted (Github is doing it that way).

  • create a changePrimaryEmail mutation that will change the user primary email. A user can only have one primary email at a time.
  • create a migration that take the first user email and set the primary field to true.

pradel avatar Feb 18 '19 10:02 pradel

@TimMikeladze what is your opinion on that ?

pradel avatar Feb 19 '19 16:02 pradel

I think this is a good idea.

TimMikeladze avatar Feb 21 '19 05:02 TimMikeladze