isaac238 / ITSE_GROUP

Repo for our introduction to software engineering module gym administration project
https://itse.isaac238.dev
2 stars 0 forks source link

Show / Hide users pin #69

Closed isaac238 closed 10 months ago

isaac238 commented 10 months ago

Show / Hide users pin

Description

Allow the user to view their pin on the page in some location e.g. nav. Would be nice to allow them to hide / show it so that anyone looking over them while using the application doesn't get their pin e..g *** -> 0121311213.

Possible implementation

Could pass the pin tto the page hrough a load function by using locals.pb to instantiate pin class and then locals.user.pin to get the pin id. and pass that to pin.get() method

After that a simple case of show/hide icon using iconify, on-click change content between ***** and the decrypted pin.