pro-dev-ph / codeigniter4-auth-and-user-management

A simple authentication and user management system for CodeIgniter 4
Apache License 2.0
56 stars 22 forks source link

Forgot Password #6

Open nikimol opened 2 years ago

nikimol commented 2 years ago

I was getting an invalid email format when posting the forgot password form. Solution: The name="email" attribute is missing from the form input in app/Views/auth/auth/forgot.php

I then got a file not found error in the reset password email method. Solution: Replace the paths in app/Helpers/auth_helper.php

Replace: view('Views\emails[file]') With: view('auth/emails/[file]')