Algorithm used by discourse to derive username?


(Mohit Gupta) #1

what algorithm does discourse use to derive username from email when Id is created through google+


(Régis Hanol) #2

If you want a quick & dirty method, try this one

If you want the full–fledged method, look at this file