For an intranet project I would like to restrict from which domain people should be able to log in from. We're using Google Apps, and I can't see anywhere inside the API console from Google where I can restrict it per domain, so I wonder if it could be included in this module?

Cheers,
Bernt

Comments

othermachines’s picture

A patch is up for review that provides a hook where you can define your own conditions for logging in:

Issue #2559543: Add pre_login hook similar to post_authorize hook

hugovk’s picture