mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 15:32:19 +03:00
check unregsiter message
This commit is contained in:
parent
368c2cf81c
commit
2bcc0fa441
1 changed files with 5 additions and 2 deletions
|
@ -187,8 +187,11 @@ class Messaging(object):
|
||||||
self.logger.debug('pout : ' + str(pout))
|
self.logger.debug('pout : ' + str(pout))
|
||||||
field_values = pout.split(' ')
|
field_values = pout.split(' ')
|
||||||
user_registration_info = list(field_values)
|
user_registration_info = list(field_values)
|
||||||
data['userName'] = user_registration_info[0];
|
if len(user_registration_info) > 1 :
|
||||||
data['userPassword'] = user_registration_info[1];
|
data['userName'] = user_registration_info[0];
|
||||||
|
data['userPassword'] = user_registration_info[1];
|
||||||
|
else:
|
||||||
|
return None
|
||||||
else:
|
else:
|
||||||
data['userName'] = usernameForCheck;
|
data['userName'] = usernameForCheck;
|
||||||
data['userPassword'] = passwordForCheck;
|
data['userPassword'] = passwordForCheck;
|
||||||
|
|
Loading…
Reference in a new issue