Sfoglia il codice sorgente

[sentry] Support None authentication

Romain Rigaux 11 anni fa
parent
commit
d1edb10
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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