mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-09 07:15:15 +02:00
Remove peer login log (#3005)
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
@ -740,7 +740,6 @@ func (am *DefaultAccountManager) LoginPeer(ctx context.Context, login PeerLogin)
|
|||||||
// it means that the client has already checked if it needs login and had been through the SSO flow
|
// it means that the client has already checked if it needs login and had been through the SSO flow
|
||||||
// so, we can skip this check and directly proceed with the login
|
// so, we can skip this check and directly proceed with the login
|
||||||
if login.UserID == "" {
|
if login.UserID == "" {
|
||||||
log.Info("Peer needs login")
|
|
||||||
err = am.checkIFPeerNeedsLoginWithoutLock(ctx, accountID, login)
|
err = am.checkIFPeerNeedsLoginWithoutLock(ctx, accountID, login)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, nil, err
|
return nil, nil, nil, err
|
||||||
|
Reference in New Issue
Block a user