flask-telegram-login icon indicating copy to clipboard operation
flask-telegram-login copied to clipboard

hash key is not correct when some returned parameters are missing

Open thematrixdev opened this issue 5 years ago • 2 comments

Hello there,

When some request.args.get() is missing (in my case, no "photo_url") and None is returned as the default value, key + '=' + data[key] would result in error since data[key] is None. I have tried checking for None value, to skip the whole key + '=' + data[key] line, or make it to be key + '=' + '', both give a wrong hash.

May you please help take a look on this?

Thanks.

thematrixdev avatar Jun 04 '19 05:06 thematrixdev