Auto-populate login form when accessed via client intranet My client has a private Craft site only accessible to their employees. To access the site they all use the same username and password on a front-end login form. They are now wanting to link to this site from their intranet and have the username and password form values auto-populated (only when accessed from the intranet). I have come up with a way using a Craft route (example.com/login/user/username/password/actualpassword) and craft.request.segment to auto-populate the form input values. This works but I was wondering if anyone else has a solution that doesn't require the password being in the URL.

Thanks!
Couldn't you set the password to a variable on the login page if it is the correct intranet url?

{% if craft.request.getUrl() == "intranet.net" %}
 {% set pass = "password" %}
{% endif %}

&lt;input type="password" value="{{ pass|default('') }} name="password" /&gt;