Using a custom login form

You can create a form so users can login to the CMS directly from your website. All you need is a form like this one:

<form method="post" action="https://edit-content.com/login">
    <input type="text" name="email">

    <input type="password" name="password">

    <input type="hidden" name="cmd" value="login">
    <input type="submit" value="Login">

Users who enter invalid credentials will be taken to the standard login form to re-enter their email address and password.

Language picker

You can also add a language dropdown to your form to let users select the language they want to use. For a reference of all available languages, view the source of the login page.

<select name="language">
    <option selected="selected" value="en-us">English (US)</option>
    <option value="fr">Français</option>
    <option value="it">Italiano</option>

Redirect on logout

To send the user to a custom URL on logout, include the following hidden element in your form. Otherwise, the user will be shown the login screen when they logout.

<input type="hidden" name="logout-redirect" value="http://example.com/" />