Monorepo for Tangled tangled.org

Add option to remove an email in settings #363

open opened by azom.dev

Currently, as far as I tried, you cannot remove an email address that you have added in the settings. This can lead to weird situations where I have the same email address verified on two accounts (which from what I understand, the email address is at least partially used to know who the commit should be attributed to).

My specific situation I encountered was this:

  • I have my email address on my old account
  • I have my new account (this one) on which I am moving things on
  • Even tho I'm signing my new commits with the key I only have in my new account, they show as if it pushed by my old account
  • I add the same email (my dev email) to my new account and verify it
  • The commits made with my email, even the ones with the wrong signature, are now attributed to my new account (I know git probably works like that so the email being tied to attribution is not tangle's issue)

The issue I am trying to show with my specific example is that I now have the same email tied to both account at the same time. Fortunately, it is currently in my favor as it appears that the account where the email was set the most recently has the priority, but in the case someone would (somehow) do the inverse, there is no way currently of undoing this.

Looking at the code it would appear that you cannot delete your primary email. If you only have 1 email set on an account, that automatically becomes your primary email.

I guess adding a new email to the account you want to delete and email from, setting the new as primary and then deleting the old one should work.

sign up or login to add to the discussion
Labels

None yet.

area

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:46m2kopixa4z6i6azb4yv2kq/sh.tangled.repo.issue/3mbk4gpa2jb22