Non-unique emails

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
6/21/2017 9:09:28 AM
Gravatar
Total Posts 60

Non-unique emails

Hi All, so pleased to see that there's a future for MojoPortal!

I have a customer with a few hundred users who login by userid rather than email address.  In certain circumstances two or more logins need to share the same email address.  

Given that email address is no longer the unique identifier if they login via userid I thought that this wouldn't be a problem so was disappointed to discover that it's prevented in code.

This really does pose a big problem for my client and they're not happy with the work-rounds I've proposed.

Is there any possibility of switching off the unique email validation when userid is used as the primary identifier?


Thanks

 

Ian

6/21/2017 10:19:04 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Non-unique emails

I wasn't around at the very beginning of the mojoPortal project, but if I recall correctly, I think I saw that when it started email address was the only way to sign in. So if the core of the system is premised on email address being unique, that might be a tall order to change (database structures, etc.).

I know you said you proposed workarounds. Did you think of using a "+" in the email address to add uniqueness that's ignored by the email system, like sharedemail+Joe@gmail.com, sharedemail+Jamie@gmail.com? Those would both end up being routed to the sharedemail@gmail.com box, but should be seen as different in mojoPortal. If this sounds like it would work, you should definitely test it first to make sure it works before proposing it to the client.

I hope that helps,
Jamie

6/21/2017 10:32:20 AM
Gravatar
Total Posts 2239

Re: Non-unique emails

Unique email addresses are very important to the system so we're not going to be able to change this. 

Jamie's idea is one we've used in the past and it works well if the email server supports "plus addressing" and most do support it.

Can you shed some light on why your client wants to use the same email address for multiple user accounts? We might be able to help you come up with a better solution than using the same email address if we know what the actual business requirement is.

Thanks,
Joe

6/21/2017 11:43:24 AM
Gravatar
Total Posts 60

Re: Non-unique emails

Thanks both for your amazingly rapid responses!

I wasn't aware of Jamie's workaround but that does sound promising - I'll give it a try before I bore you with the details of the particular application!

Thanks again,

Ian

You must sign in to post in the forums. This thread is closed to new posts.