fablabbcn / smartcitizen-kit-20

Smart Citizen Kit 2.0 hardware and firmware
https://smartcitizen.me
GNU General Public License v3.0
37 stars 9 forks source link

Allow Kit to display token, if it is not 'null' #13

Closed viktorsmari closed 5 years ago

viktorsmari commented 5 years ago

Now users can see their previous tokens.

This depends on the Kit's API to send the "null" string if there is no token. If the kit does not do that, all the users will receive a "null" in the field, which we do not want!

With oldtoken: 2018-10-16_12-00-02