little tweak, admin instead of username

This commit is contained in:
CanbiZ 2024-11-20 18:07:06 +01:00 committed by GitHub
parent cc3616ae51
commit f3898783e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ $STD expect <<EOF
set timeout -1 set timeout -1
log_user 0 log_user 0
spawn bin/console kimai:user:create username admin@helper-scripts.com ROLE_SUPER_ADMIN spawn bin/console kimai:user:create admin admin@helper-scripts.com ROLE_SUPER_ADMIN
expect "Please enter the password:" expect "Please enter the password:"
send "helper-scripts.com\r" send "helper-scripts.com\r"
@ -105,4 +105,4 @@ msg_info "Cleaning up"
rm -rf ${RELEASE}.zip rm -rf ${RELEASE}.zip
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"