[horde] Require a certain domain
David Cunningham
dcunningham at additionnetworks.net
Thu May 4 14:05:32 UTC 2017
> On May 4, 2017, at 8:32 AM, Jan Schneider <jan at horde.org> wrote:
>
>
> Zitat von David Cunningham <dcunningham at additionnetworks.net>:
>
>> Hi All,
>>
>> I have the latest Horde operating with virtual host configs for each domain we use so we can differentiate many of the preferences based on domains.
>>
>> My problem is that users can stumble upon another domain and still log in.
>>
>> Is there any way to restrict the domain of the email address that the user can log in with. For example, if the domain is https://testportal.<https://testportal.additionnetworks.net>name.com<http://name.com> only allow users with username at test.<mailto:username at test.additionnetworks.net>name.com to log in to the virtual host?
>>
>> Thanks!
>
> You can use the preauthenticate hook for that.
>
Can you provide an example? Sorry, I am not any good at this sort of thing.
> --
> Jan Schneider
> The Horde Project
> https://www.horde.org/
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
More information about the horde
mailing list