colymba / silverstripe-restfulapi

SilverStripe RESTful API with a default JSON serializer.
BSD 3-Clause "New" or "Revised" License
64 stars 34 forks source link

api/auth/lostPassword -> BadMethodCallException #107

Open prettytamben opened 4 years ago

prettytamben commented 4 years ago

We faced this issue when integrating the lostPassword feature of the api: Uncaught BadMethodCallException: Object->__call(): the method 'sendEmail' does not exist on 'SilverStripe\Security\MemberAuthenticator\LostPasswordHandler' IN GET /api/auth/lostPassword?email=**** Line 54 in /vendor/silverstripe/framework/src/Core/CustomMethods.php

Could anybody reproduce this error?