openly-rails icon indicating copy to clipboard operation
openly-rails copied to clipboard

Allow users to change their email addresses

Open FinnWoelm opened this issue 8 years ago • 1 comments

Once users sign up, they currently cannot change their email address. We should allow users to update their email address.

There are two requirements:

  • A confirmation email sent to the current email address, so that we can make sure the change is being made by the account owner (and not a hacker trying to gain control)
  • A confirmation email sent to the new email address, so that we can confirm that the new email address is valid

FinnWoelm avatar Aug 03 '17 07:08 FinnWoelm

Alternative approach:

Confirmation email is only sent to the new email address but email change must be confirmed by password. This allows for at least partial validation.

It leaves a key vulnerability in as so far as that a hacker with access to the user's password can get full control over the user's account. In the approach described above, they at least also need access to the user's email account.

FinnWoelm avatar Aug 03 '17 07:08 FinnWoelm