Roundcube Community Forum

Release Support => Pending Issues => Topic started by: def on October 19, 2011, 06:03:46 AM

Title: allow access to only @domain.com
Post by: def on October 19, 2011, 06:03:46 AM
Hello.
I'd like to allow access to only one domain to login.
I wrote it in $rcmail_config['username_domain'], but it doesn't deny access to other domains.

Thank you.
Title: allow access to only @domain.com
Post by: JohnDoh on October 20, 2011, 02:45:31 AM
if you dont have many users on your domain then you could log in with each of them once and then set auto_create_user to false in the main config file. that will stop any other users from being created in RC. Or you could write a plugin on the `authenticate`hook which checks the username comes from the right domain and if not rejects it.