We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f0ffae commit 4b04d0aCopy full SHA for 4b04d0a
shared/management/client/grpc.go
@@ -348,8 +348,8 @@ func newLoginBackoff(ctx context.Context) backoff.BackOff {
348
}, ctx)
349
}
350
351
-// isRegistrationRequest determines if a login request is actually a registration
352
-// by checking for the presence of setup key or JWT token
+// isRegistrationRequest determines if a login request is actually a registration.
+// Returns true if either the setup key or the JWT token is present in the request.
353
func isRegistrationRequest(req *proto.LoginRequest) bool {
354
return req.SetupKey != "" || req.JwtToken != ""
355
0 commit comments