1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #5785 from turbo124/v5-develop

Fixes for reset password
This commit is contained in:
David Bomba 2021-05-22 14:32:03 +10:00 committed by GitHub
commit f15ac46a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,9 +104,9 @@ class ForgotPasswordController extends Controller
*/
public function sendResetLinkEmail(Request $request)
{
// MultiDB::userFindAndSetDb($request->input('email'));
MultiDB::userFindAndSetDb($request->input('email'));
// $user = MultiDB::hasUser(['email' => $request->input('email')]);
$user = MultiDB::hasUser(['email' => $request->input('email')]);
$this->validateEmail($request);