khanimranm
1 year ago

How to do Login authentication with many to many relationship table field.

Posted 1 year ago by khanimranm

3 Tables

  1. users
  2. groups
  3. group_user - The many to many relationship table.

My Login view has email, password, and an optional group ID for login.

Authentical depends on user input.

  1. When a user enters email and password only, the regular authentication.
  2. 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.