fsek / app

Repository for the F-sek mobile application
MIT License
10 stars 1 forks source link

Fixes GDPR login token bug #185

Closed FredrikLastow closed 5 years ago

FredrikLastow commented 5 years ago

The api request took to long in onDeviceReady which led to a bug with the login token. The login was faster that the api request, so the check with the users terms version was against an undefined variable and always became true.

FredrikLastow commented 5 years ago

@davidkrantz Should we merge this? Can't remember if we needed to add something else?

davidkrantz commented 5 years ago

@davidkrantz Should we merge this? Can't remember if we needed to add something else?

I'm pretty sure that this solution is complete and that it solves the issue. So yes, I think that we can merge it.