Re: Email Login + Random Member URLs
ooookay, progress progress and it will work, but is there a more efficient way to do this?
tmp = tmp.replace(/[a]+/g,"1").replace(/+/g,"2").replace(/[c]+/g,"3")... etc...
So basically what I’m doing is I’m replacing every letter with a corresponding number.
It works perfectly because when you think about it, no one can sign up with the same email, and if the ‘username’ is taken from the email then it’s perfect!