Forums / Developer / bug in user_activation trigger?

bug in user_activation trigger?

Author Message

tim tailor

Wednesday 29 September 2010 2:12:39 pm

I am working on an extension for V.4.3 that creates a user content folder after the email activation. It works so far but there is some behaviour I cannot understand: The workflow is linked to the after_user_activation trigger. But this workflow is always executed two times. First when a new users registers, second when he activates his account by mail. As I am quite new to ez Publish I don't have a clue where exactly in the source I can find the code that fires the trigger. I was searching the files in kernel/user/ but I didn't have any success.

Håvard Bergersen

Monday 18 October 2010 2:22:16 pm

Did you ever get a answer to this question? :)

Håvard Bergersen

Tuesday 19 October 2010 2:47:47 am

I don't know if this is a bug or not, but I worked around it by checking if the user is activated or not.

By doing this it doesn't do any action before the user has activated the account. :)