Skip to content

Get password & email address of the admin while creating a new tenant #3088

@hikalkan

Description

@hikalkan

Instead of;

await DataSeeder.SeedAsync(tenant.Id);

It is possible to pass pass and email:

await DataSeeder.SeedAsync(
    new DataSeedContext(tenant.Id)
        .WithProperty("AdminEmail", "[email protected]")
        .WithProperty("AdminPassword", "123456")
);

Get these from UI and pass to the seeder.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions