Username or email



How can I connect with username or email?
Login with session



May this be help you


Hey @nikoola! :wave:

You got multiple options to do what you’re requesting.

  1. Do a database query that will fetch a record via username or email and then authenticate it using auth.login(user).
  2. Use the package Persona which is an opinionated user management service for AdonisJs