Hacker News new | ask | show | jobs
by bradleyjoyce 5639 days ago
that feels pretty hacky to be honest.

the real issue is that one person may have multiple accounts in the app, and they may want to use the same email address for all accounts... I have no reason to enforce a unique email address.

It's odd that Sunnytrail would when there is usually a common unique identifier across all apps for users.. user id

1 comments

Sunnytrail does not enforce an unique email address or an unique username. We are tracking users based on the supplied internal user ID (or an email address hash if an internal user ID is not provided).
hmm, I'm pretty sure that's what Octav had told me in chat.. either way you require an email address...

    RuntimeError: The request is invalid: {"message": "invalid JSON message", "errors": [["", "A valid email address is mandatory"]]}
required but not unique. just generate a dummy one based on the user id.
so just really curious.. what's the reasoning behind requiring it?
we are planning to add some features that depend on that email address (some sort of advanced client profile)