Skip to content

Login URL token is incomplete when user is generated by cron #5

@MegaphoneJon

Description

@MegaphoneJon

This is on Drupal 9.3.2 and Civi 5.45.1. To replicate, configure CMS User to not create the user automatically. Fire the rule via cv (e.g. cv api Job.cmsuser).

The login URL is missing the domain, so instead of https://example.org/user/reset/224/1642118358/zaehDxtabytkWHRyLRZwseLxLqYBJunNnvyZlPyDhdo I get /user/reset/224/1642118358/zaehDxtabytkWHRyLRZwseLxLqYBJunNnvyZlPyDhdo.

This does NOT happen if I fire the rule from within the Civi UI, so I'm guessing that Drupal isn't being explicitly bootstrapped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions