mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
9414e8dd33
commit
eac020565d
@ -119,17 +119,11 @@ class TheOperator(Operator):
|
||||
return bool(pubkey)
|
||||
|
||||
def has_user(self,name=None,pubkey=None):
|
||||
|
||||
|
||||
x= (
|
||||
(self.crypt_keys.get(name,prefix='/pubkey/'))
|
||||
or
|
||||
(self.crypt_keys.get(b64enc_s(pubkey),prefix='/name/'))
|
||||
)
|
||||
self.log('!?!?!?',x,name,pubkey)
|
||||
stop
|
||||
|
||||
return x
|
||||
pk=self.crypt_keys.get(name,prefix='/pubkey/')
|
||||
nm=self.crypt_keys.get(b64enc_s(pubkey),prefix='/name/
|
||||
self.log('pks:',pubkey,pk)
|
||||
self.log('nms:',name,nm)
|
||||
return pk or nm
|
||||
|
||||
def login(self,name,pubkey,secret_login,**data):
|
||||
# get my records
|
||||
|
Loading…
Reference in New Issue
Block a user