Skip to content

v0.10.1

Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 29 Mar 03:54
6911b5d

🚀 Enhancements

create random username and password for admin user only if needed @treksler (#25)

what

  • only create random strings for admin user and admin password, if we are actually going to use them
  • the logic is that only if the module is enabled, and the admin user is enabled and if the admin user was not passed in (i.e. is unset) only then do we need to create these random strings

why

  • the admin user is a dynamic property and it does NOT get created, if admin user is not enabled
  • we do not need to create these random strings when the dynamic block does not created
  • since the admin user is a dynamic block, we do NOT need to worry about username and password being required fields
  • They are not required because the whole block won't exist

references