You will need to write your own controller, and implement your own methods. You can easily read the existing traits to give you an idea.
Override the resetPassword
I have a problem with changing the password in laravel. I have 2 tables of users in the database, the first table is a Users, and the second is Mahasiswas. I'm using the first table which is Users to work as an admin, and the second table Mahasiswas which means students in my language to enter study program card.
The both tables can login smoothly, but when I try to change the password of the student from the table Mahasiswas, the system begins automatically logged in to the User Dashboard (and it is very dangerous for Users), not to Mahasiswas Dashboard, and I do not want the system to log in automatically after changing the password, so how can I override the resetPassword.php trait ?
Please or to participate in this conversation.