check unregsiter message

This commit is contained in:
Edip YILDIZ 2020-07-24 09:52:41 +03:00
parent 368c2cf81c
commit 2bcc0fa441

View file

@ -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)
if len(user_registration_info) > 1 :
data['userName'] = user_registration_info[0]; data['userName'] = user_registration_info[0];
data['userPassword'] = user_registration_info[1]; data['userPassword'] = user_registration_info[1];
else:
return None
else: else:
data['userName'] = usernameForCheck; data['userName'] = usernameForCheck;
data['userPassword'] = passwordForCheck; data['userPassword'] = passwordForCheck;