When you register but don’t act on user activation email, the only way to solve the issue by logging in to the forum and request a new activation email, as it’s well defined in
SessionController#create. However, the appropriate response handler (
SessionController#not_activated) returns user email only (both versions, where the activation email is sent and current one).
I don’t know how deep this rabbit hole is, but the first line where it fails is rails router, where the constraint is the username should consist of alphanumeric characters or underscores only.
I think the easiest fix would be to send username along with the email addresses in