Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-50795

When a user request new e-mail address verification email the previous one should be deleted

Details

    Description

      Steps to reproduce:

      1. In Portal Settings > Authentication check the "Require strangers to verify their email address?" checkbox
      2. Register a user
      3. Sign in with the new user
      4. When you asked for your e-mail address verification code click on Send New Verification code
      5. Now if you check the DB you will see 2 tickets in the ticket table for the same user with the same e-mail address
        If you use one of the verification codes only that record will be deleted from the DB.

      Result: The old verification code (ticket) is left in the ticket table. Since only one ticket will be used any other will be left forever in the db.

      Expected behavior: When a new verification code is sent any previous ones should be deleted.

      Attachments

        1. fixed.png
          fixed.png
          49 kB
        2. reproduced.png
          reproduced.png
          57 kB

        Issue Links

          Activity

            People

              beck.liu Beck Liu
              norbert.kocsis Norbert Kocsis (Inactive)
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 50 weeks, 1 day ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M4