hivewallet / hive-js

Hive digital currency wallet
http://www.hivewallet.com
GNU General Public License v2.0
81 stars 57 forks source link

Detecting if PIN exists #37

Closed haustraliaer closed 10 years ago

haustraliaer commented 10 years ago

In the case that someone tries to open an existing wallet from the landing screen of hive-js they are presented with the message "Set your pin".

In the case that they have already set a pin previously, it should instead read: "Enter your pin". A subtle difference, obviously, but important none the less. We'll need to have some way of detecting whether the user has indeed set a pin or not.

@weilu mentioned this would be a server side task for detecting a set pin (as you could potentially open on a new device with no knowledge of the account locally, but have a pin stored on the server).

weilu commented 10 years ago

@haustraliaer what you described above sounds like two different issues

  1. Different the cases of "Set a pin" and "Enter a pin" upon login
  2. Allow users to disable pin all together

Am I right?

haustraliaer commented 10 years ago

Yeah I think so, kind of wrote that issue thinking they were the same but realised halfway through. I'll edit to be more specific to 1

weilu commented 10 years ago

Done!