Эх сурвалжийг харах

[sentry] Support None authentication

Romain Rigaux 11 жил өмнө
parent
commit
d1edb10

+ 1 - 1
desktop/libs/libsentry/src/libsentry/client.py

@@ -54,7 +54,7 @@ struct TSentryAuthorizable {
 """
 """
 
 
 class SentryClient(object):
 class SentryClient(object):
-  SENTRY_MECHANISMS = {'KERBEROS': 'GSSAPI', 'NOSASL': 'NOSASL'}
+  SENTRY_MECHANISMS = {'KERBEROS': 'GSSAPI', 'NOSASL': 'NOSASL', 'NONE': 'NONE'}
 
 
   def __init__(self, host, port, username):
   def __init__(self, host, port, username):
     self.username = username
     self.username = username