Hi! I have configured a Reverse Proxy to handle ".../login" requests (and we can use pas.plugins.headers now) - however we want to be able to use the "legacy login" i.e. Plone's own login at the same time. We could use a second URL for that, like ".../login_old". How can I change the URL of the default Plone login / add an additional route for it, like ".../login_old"?
There are the /login_form
and /failsafe_login
(unstyled) variants
You can also register your own login view by re-using this config:
<!-- put this extra <configure> section somewhere in your configure.zcml -->
<configure package="Products.CMFPlone.login">
<browser:page
name="my_custom_login"
for="plone.base.interfaces.INavigationRoot"
class=".login.LoginForm"
template="templates/login.pt"
permission="zope.Public"
/>
</configure>
Note that the class
and template
attributes are based on Products.CMFPlone.login
OMG Plone is magnificent! Thank you so much, @petschki !!!