mesh0000 / poolui

User interface based on Monero Pool API developed by Snipa - https://github.com/Snipa22/nodejs-pool
MIT License
148 stars 154 forks source link

What's the purpose of sessionLock variable in dataservice.js? #28

Open TimeTravelersHackedMe opened 6 years ago

TimeTravelersHackedMe commented 6 years ago

Hey, I'm rebuilding this project in Ionic/Angular5 and I'm wondering what the sessionLock variable is for in this file:

https://github.com/mesh0000/poolui/blob/master/app/utils/dataservice.js

miziel commented 6 years ago

seems to me it is to not allow being logged in one tab if you logged out in another... but I would consider writing or using some other session handling , as there is a known bug of unknown (for me at least) origin - if you not log out from session and open the app after longer time, it shows you're logged in but you cannot set any new values

EDIT: btw, https://github.com/benbaran/poolui-angular is (was?) an attempt to do A5 version afaik