• This controller will be used to login the user and will create new session in database

    Author

    aayushchugh

    Parameters

    • req: Request<{}, {}, {
          email: undefined | string;
          password: string;
          username: undefined | string;
      }, ParsedQs, Record<string, any>>

      request

    • res: Response<any, Record<string, any>>

      response

    Returns Promise<Response<any, Record<string, any>>>

Generated using TypeDoc