Hello, I am using Auto Actions plugin and CB onAfterUpdateUser trigger with "Condition: password field - Not Empty". When the trigger fires, I need to get username and password. Also I don't want users to be able to edit their username, so I set it to "read only" in "Field Management" and/or set it to "Username Edit - No" in "User Profile Configuration". After disabling username editing, I can no longer access username from $input.
$input With username edit ENABLED =
{"view:"saveuseredit","option":"com_comprofiler","Itemid":111,"task":"saveuseredit","id":"348","6f553b1ee9a370f5b813fad82b229602":"1","username":"aaaaaa","email":"zederis@gmail.com","password__current":"zzzzzzzz","password":"aaaaaaaa","jform":{"params":{"editor":"","timezone":"","language":"","colorScheme":""}},"canvas__choice":"","avatar__choice":""}
$input With username edit DISABLED =
{"view:"saveuseredit","option":"com_comprofiler","Itemid":111,"task":"saveuseredit","id":"348","6f553b1ee9a370f5b813fad82b229602":"1","email":"zederis@gmail.com","password__current":"aaaaaaaa","password":"zzzzzzzz","jform":{"params":{"editor":"","timezone":"","language":"","colorScheme":""}},"canvas__choice":"","avatar__choice":""}
Is there another way to access username using onAfterUpdateUser trigger in Auto Actions with username edit disabled? Or do I have to go another route?