In the App I am working on people subscribe from universities so they
tend to have very standard email addresses.
e.g. Durham University = @dur.ac.or or @durham.ac.uk
For some of these universities I want to display extra information
when the user logs in, but not for others and that information will be
i.e. If a user with email@example.com logs in I want them to see
a Durham University specific imag on their homepagee, but if a user
from Newcastle with firstname.lastname@example.org logs in they should see
a different image (or no image at all).
I would like to try and do this on email suffix recognition rather
than asking the user to specify their university at login if there is
an elegant way of doing so.
All suggestions welcome.