소스 검색

[sentry] Support None authentication

Romain Rigaux 11 년 전
부모
커밋
d1edb10
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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