#2983 Cannot login to Pagure if a FAS account uses the same e-mail address as a disabled FAS account
Closed: Fixed Opened by bowlofeggs.

I recently switched my FAS account address to use the same address as my old disabled account (@rbarlow) used to use. In order to do this, I did need to log in to FAS as @rbarlow and change that account's e-mail to another address (because FAS enforces e-mail address uniqueness). However, after doing this, I could not log in to Pagure with this error message: "Could not set up you as a user properly, please contact an admin".

I think Pagure doesn't need to enforce uniqueness on e-mail addresses since FAS does that. That issue aside, it would have been helpful if I'd gotten a more descriptive error message.


I think Pagure doesn't need to enforce uniqueness on e-mail addresses since FAS does that.

You're forgetting that pagure doesn't rely exclusively on FAS and it does need to enforce email uniqueness as otherwise there would be no way to link a commit with a user.

That issue aside, it would have been helpful if I'd gotten a more descriptive error message.

We could try to improve this sure :)

Metadata Update from @pingou:
- Issue assigned to pingou

Proposed improvement to the error message: https://pagure.io/pagure/pull-request/3053

Commit 1fef46a4 fixes this issue

Metadata