anserwaseem/easy-accounting

Registering New User on one OS doesn't Login on other OS

Closed this issue · 0 comments

Describe the bug
Registering New User on one OS doesn't Login on other OS.

To Reproduce
Steps to reproduce the behavior:

  1. Start project on Windows.
  2. Register new user. (and make commit on same branch)
  3. Start project on Mac. (and fetch latest db changes)
  4. Try to login with same details -- error.

Expected behavior
User created on one OS should be able to login on other OS as well

Possible Reason
It's the issue with Electron's safeStorage api. It's using underlying OS's encryption which differs on every OS hence we see the error