screeps-rs icon indicating copy to clipboard operation
screeps-rs copied to clipboard

Password saving (or at least username)

Open daboross opened this issue 6 years ago • 0 comments

Currently, screeps-rs requires entering username/password on every startup. During testing, at least, this can be very tiresome.

Ideally we could just store an API token in a local file, but they seem to expire fairly rapidly. Maybe a good solution would be to store username + API token + password if "save password" box is checked?

I'm not entirely sure how to do this securely on each platform, though, so saving password should probably wait until we figure that out.


Note on database: We currently use rocksdb to store terrain caches. IMO we should store servers/usernames/passwords in a separate database or file, managed separately.

daboross avatar Jan 04 '18 05:01 daboross