downstream: clarify "user not active" error message
This commit is contained in:
parent
16e43ee3a3
commit
44efe37292
@ -1274,7 +1274,7 @@ func (dc *downstreamConn) authenticate(ctx context.Context, username, password s
|
|||||||
|
|
||||||
dc.user = dc.srv.getUser(username)
|
dc.user = dc.srv.getUser(username)
|
||||||
if dc.user == nil {
|
if dc.user == nil {
|
||||||
return fmt.Errorf("user not active")
|
return fmt.Errorf("user exists in the DB but hasn't been loaded by the bouncer -- a restart may help")
|
||||||
}
|
}
|
||||||
dc.clientName = clientName
|
dc.clientName = clientName
|
||||||
dc.registration.networkName = networkName
|
dc.registration.networkName = networkName
|
||||||
|
Loading…
Reference in New Issue
Block a user