3

I'm using Laravel Version 7, and in my users' table, I have an additional field called "deactivated" to deactivate a user. However, I don't want a deactivated user to be able to send himself a Password Reset E-Mail via the built-in function. So, how can I check if the user is deactivated before a Password Reset E-Mail is sent?

Karl Hill
  • 12,937
  • 5
  • 58
  • 95
q55awr
  • 119
  • 1
  • 10

0 Answers0