Please don’t modify core code
I would recommend to create a custom api endpoint, like described here: Authenticate API with Username and Password - #6 by artur
Please don’t modify core code
I would recommend to create a custom api endpoint, like described here: Authenticate API with Username and Password - #6 by artur