mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-23 03:49:49 -08:00
This commit is contained in:
parent
db3c2f8cae
commit
d3976fbc15
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ func (m *Manager) Authenticate(req *Request) error {
|
|||
if err != nil {
|
||||
return Error{
|
||||
Wrapped: err,
|
||||
AskCredentials: (req.User == "" && req.Pass == ""),
|
||||
AskCredentials: m.Method != conf.AuthMethodJWT && req.User == "" && req.Pass == "",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue