<div dir="ltr">Hello,<div><br></div><div>right now for the usernames in discourse we spit the email of the person,</div><div>so if we have the email <a href="mailto:foo@gmail.com">foo@gmail.com</a> the username in discourse will</div>
<div>be foo, but this has the issue that if two users have the emails</div><div><a href="mailto:foo@gmail.com">foo@gmail.com</a> and <a href="mailto:foo@yahoo.com">foo@yahoo.com</a> the first one will end up with the username</div>
<div>foo and the second one won't be able to login(no account will be created).</div><div><br></div><div>So we need something else, if we have the user with</div><div>firstname: foo</div><div>lastname: bar</div><div>email: <a href="mailto:foo@kde.org">foo@kde.org</a></div>
<div><br></div><div>the possible solutions are foo_bar, foobar yes this means that we *can't* have as usernames the 'foo bar' and '<a href="mailto:foo@kde.org">foo@kde.org</a>'.</div><div>I guess the desired solution would be to have '<a href="mailto:foo@kde.org">foo@kde.org</a>' as a username, since</div>
<div>in the bodega-server we auth with the email. I have written a patch which allows us</div><div>to have as usernames the emails, basically I just changed the regular expression which</div><div>validates the username I will try to get it merged in the discourse. If the patch goes in I guess problem solved but if it doesn't? Do we want another custom patch?</div>
<div><div><br></div>-- <br><div dir="ltr">Giorgos Tsiapaliokas (terietor)<br><br><a href="http://terietor.org" target="_blank">terietor.org</a></div>
</div></div>