feat: Add default username and password for API

This commit is contained in:
Krypton 2025-08-08 18:34:31 +02:00 committed by GitHub
commit d60d4612f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,12 +90,12 @@ func NewRestAPI(s *session.Session) *RestAPI {
"Value of the Access-Control-Allow-Origin header of the API server.")) "Value of the Access-Control-Allow-Origin header of the API server."))
mod.AddParam(session.NewStringParameter("api.rest.username", mod.AddParam(session.NewStringParameter("api.rest.username",
"", "user",
"", "",
"API authentication username.")) "API authentication username."))
mod.AddParam(session.NewStringParameter("api.rest.password", mod.AddParam(session.NewStringParameter("api.rest.password",
"", "pass",
"", "",
"API authentication password.")) "API authentication password."))