1 year ago

How to do Login authentication with users table->email and groups table->id in many to many relationship

Posted 1 year ago by khanimranm

3 Tables

users groups group_user - The many to many relationship table. My Login view has email, password, and an optional group ID for login.

Authentication depends on user input.

When a user enters email and password only, the regular authentication. When a user enters email, password and the optional group id , then authentication on these 3 input. How to authenticate in many to many relationship? Please help.

Please sign in or create an account to participate in this conversation.