Merge pull request #51 from SekoiaLab/feature/AddAuthkeyAtCreation

feature: Add support for authkey in PyMISP operations
pull/55/head
Raphaël Vinot 2017-02-23 14:46:42 +01:00 committed by GitHub
commit 4be491b7a0
1 changed files with 2 additions and 0 deletions

View File

@ -1199,6 +1199,8 @@ class PyMISP(object):
user['termsaccepted'] = kwargs.get('termsaccepted')
if kwargs.get('newsread'):
user['newsread'] = kwargs.get('newsread')
if kwargs.get('authkey'):
user['authkey'] = kwargs.get('authkey')
return user
def get_users_list(self):