Skvare / com.skvare.cmsuser

Create CMS user in Bulk using Groups AND Tag assigned to Contacts.
Other
2 stars 5 forks source link

User is not getting logged in immediately (when contact is tagged via webform submission) #4

Open petednz opened 2 years ago

petednz commented 2 years ago

Thanks for this extension

When using with D9 via a webform where the extension is set so that

"Create New User Immediately" is ticked

" Login New User Immediately" is ticked

but upon webform submission

sunilpawar commented 2 years ago

Drupal 9 version CiviCRM version ?

if you are on 9.2 Drupal and civicrm is not upto date then these patches is required https://github.com/civicrm/civicrm-core/pull/21403 https://github.com/civicrm/civicrm-core/pull/22078 https://github.com/civicrm/civicrm-core/pull/22080

We had same issue when Drupal version is 9.2 and CiviCRM version was 5.39.2

petednz commented 2 years ago

sorry Sunil. should have confirmed those. D 9.2.9 C 5.41.1

Will give this a go. But actually our scenario still leaves a problem, in case you have some thoughts.

We have users being created from two web forms A and B

From A we need the users to be logged in immediately

From B we do not want them logged in immediately.

So if these patches help us with A/ then we still have to figure a way of sorting out B/. Any thoughts?

I know there is another cmsuser extension around but I suspect i am asking for trouble to try using one for one scenario, and the other for B (and not even sure if the other - Matt Wire's - works for d9