AnsweredAssumed Answered

How to get the username value in a login_failed logic hook?

Question asked by Jaume Albaigès on Mar 4, 2015
Latest reply on Mar 6, 2015 by Rolustech Rolustech
I am trying to build a custom tracker in SugarCRM CE 6.5.11, as this feature is not available in CE. I have been able to log logins and logouts using after_login and before_logout logic hooks and now I would like to log login errors usign login_failed logic hook.

My question is simple: once I am inside the logic hook function, how can I get the username value (ie, the text inserted by the user in the login form) in order to evaluate if it is an active user and then make some action?

Thank you very much!