rdavid1099 / rypass

Terminal-based password generator and storage application
MIT License
1 stars 0 forks source link

Create new generated password for existing username/ account #21

Open rdavid1099 opened 7 years ago

rdavid1099 commented 7 years ago

Right now, if a user has account test with username test@test.com attached to it with a generated password and enters rypass a -a test -u test@test.com the program will automatically (and without mercy) overwrite the password for that username. This should NOT happen.

A warning message should be raised saying 'You are about to overwrite the password for USERNAME attached to ACCOUNT. Do you want to continue (y/n)?'

If they answer yes or y, then the program should overwrite the password and display a success message printing out the old password and the new password.

If they answer no or n, then the program should stop executing and leave the account and username data alone.