mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
feat: Add default username and password for API
This commit is contained in:
parent
8bd6052851
commit
d60d4612f2
1 changed files with 2 additions and 2 deletions
|
@ -90,12 +90,12 @@ func NewRestAPI(s *session.Session) *RestAPI {
|
|||
"Value of the Access-Control-Allow-Origin header of the API server."))
|
||||
|
||||
mod.AddParam(session.NewStringParameter("api.rest.username",
|
||||
"",
|
||||
"user",
|
||||
"",
|
||||
"API authentication username."))
|
||||
|
||||
mod.AddParam(session.NewStringParameter("api.rest.password",
|
||||
"",
|
||||
"pass",
|
||||
"",
|
||||
"API authentication password."))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue