0

I need an Observer to get all customer data after registration. II created an Observer for customer_register_success event and I see some data. But I need also the password, because next step is to send all data to another server.

I tried also to make the same with customer_customer_authenticated event, which is used by UpgradeCustomerPasswordObserver, but the result of getData('password') is always null?

Can someone explain where's the trick?

Thanks!

  • This is a security measure. Password in plain text should never be available. – vitoriodachef Mar 2 '18 at 13:32
  • @vitoriodachef in this case, how the UpgradeCustomerPasswordObserver use this event? Or it's permitted for core modules? – Ruslan Mar 5 '18 at 15:45
0

Hmm... seems that the issue was in cache. After I disabled the cache I'm sure that the password can be retrieved from the event parameter or request parameters (depend of which functionality we need).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.