Differences From Artifact [25b5870365]:
- Executable file hunter2 — part of check-in [5b160acdfd] at 2016-03-11 20:43:41 on branch trunk — Added license (user: rkeene, size: 13754) [annotate] [blame] [check-ins using]
To Artifact [745b700e51]:
- Executable file hunter2 — part of check-in [33225e8766] at 2016-03-11 20:56:01 on branch trunk — Updated to allow updatePassword to prompt if the new password is blank (user: rkeene, size: 13841) [annotate] [blame] [check-ins using]
︙ | |||
438 439 440 441 442 443 444 445 446 447 448 449 450 451 | 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 | + + + + | } proc getPassword {passwordName} { puts [_getPassword $passwordName] } proc updatePassword {passwordName password} { if {$password eq ""} { set password [_prompt "Please enter the new password: "] } db eval {SELECT publicKey FROM passwords WHERE name = $passwordName;} row { lappend publicKeys $row(publicKey) } _addPassword $passwordName $password $publicKeys } |
︙ |