Ouvert Fermé

Question on the default seeded Admin account #4864


User avatar
0
balessi75 créé

ABP Commercial 7.0.1 / Blazor Server / EF / Non tiered / Separate Host DB, Separate Tenant DBs

Hi,

I see how we can easily change the initially seeded admin's email and password, but is there also a way to change the initially seeded admin's user name? Or does the framework require this account to be named "admin"?


1 Réponse (s)
  • User Avatar
    0
    liangshiwei créé
    Équipe d'assistance Fullstack Developer

    Hi,

    Yes, it is constant. we don't recommend you change it.

    But however, you can change it if you want.

    You can replace the implementation of the IIdentityDataSeeder interface with your own. https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityDataSeeder.cs

Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11