flask-telegram-login
flask-telegram-login copied to clipboard
hash key is not correct when some returned parameters are missing
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.