fix user sync issue after setup finishes

This commit is contained in:
Jason Ertel
2023-03-08 15:10:31 -05:00
parent 0f456e6ecd
commit b9e3024521
2 changed files with 0 additions and 20 deletions

View File

@@ -68,9 +68,7 @@ add_web_user() {
wait_for_file /nsm/kratos/db/db.sqlite 30 5
{
info "Attempting to add administrator user for web interface...";
export SKIP_STATE_APPLY=true
echo "$WEBPASSWD1" | /usr/sbin/so-user add --email "$WEBUSER" --role "superuser";
unset SKIP_STATE_APPLY
info "Add user result: $?";
} >> "/root/so-user-add.log" 2>&1
}