I wanna make two auth types in login form. When the form will submitted, in a radio button can decide which auth must submitted. I have trouble with different user table in auth. For example a student and a personel login. If the user check the personel button in login form, form will Auth::attempt in users table. But if the user will check the student button it must be check in students table.
The other problem is how can i fix a similar session for a student and a user.
@DPJack & @Mahesh thanks for your posts. I m not wondering users role or two types of users in a table. I have 2 tables and when the user will login with one of them, how can i set user's informations. For example if the user is logged i can see the user information in JSON like this.