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

Make it possible to prevent automatic login while registering

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 5.3.1, 5.4.0-beta1
    • 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 5.0, 5.1, 5.2, 2013.11, 2014.01, 2014.03, 5.3

    Description

      Currently, a new user registering (Legacy Stack => user/register) will be automatically authenticated if there is no validation required.
      If validation is required, then the account is deactivated right after its creation which involve it it not logged in.

      The worflow required in the current project is: creating active user account upon registration, send them an e-mail with an automatically generated password, keep them unauthenticated until they actively log in with the password they received.

      Everything in the above workflow is possible at low cost thanks to custom validation with (in site.ini):

      [VerifyUserType_custom]
      Class=JobCustomUserValidation
      

      but not avoiding the automatic log in which would involve hacking kernel/user/register.php or redefining kernel/user module/action which isn't easily possible either.

      The idea is: activate/deactivate this automatic login through configuration.

      Attachments

        Activity

          People

            Unassigned Unassigned
            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h