Selaa lähdekoodia

[sentry] Support None authentication

Romain Rigaux 11 vuotta sitten
vanhempi
commit
d1edb10
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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