Explorar o código

[sentry] Support None authentication

Romain Rigaux %!s(int64=11) %!d(string=hai) anos
pai
achega
d1edb10
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/libs/libsentry/src/libsentry/client.py

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

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