Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11436

Confusing redirection after user activation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 3.10.0rc1
    • None

    Description

      Hi,

      /templates/user/activate.tpl

      At the end of the template, there is a form with an "OK" button which redirects the user to the /user/login page.

      <div class="buttonblock">
      <form action=

      {"/user/login"|ezurl}

      method="post">
      <input class="button" type="submit" value="

      {'OK'|i18n( 'design/standard/user' )}

      " />
      </form>
      </div>

      This makes no sense.

      -) If the user activation was successfully, the user is already logged in. There is no need to redirect him to the login page.

      -) If the activation failed, there is also no reason to redirect the user to the login page.

      Suggestion: Remove the link or redirect the user to the homepage or "/user/edit" by default.

      Best wishes,
      Georg.

      Attachments

        Activity

          People

            unknown unknown
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: