mirror of https://github.com/MISP/PyMISP
Merge pull request #51 from SekoiaLab/feature/AddAuthkeyAtCreation
feature: Add support for authkey in PyMISP operationspull/55/head
commit
4be491b7a0
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue