Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement update password feature #98

Merged
merged 11 commits into from Oct 11, 2018
11 changes: 11 additions & 0 deletions addressbook.txt
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AddressBook>
<persons>
<name>John Doe</name>
<phone isPrivate="false">98765432</phone>
<email isPrivate="false">johnd@gmail.com</email>
<address isPrivate="false">311, Clementi Ave 2, #02-25</address>
<tagged>owesMoney</tagged>
<tagged>friends</tagged>
</persons>
</AddressBook>
File renamed without changes
2 changes: 1 addition & 1 deletion passwordStorage.txt
@@ -1,2 +1,2 @@
hqp -795402416
hqp 834283274
po -1367640577
101 changes: 0 additions & 101 deletions src/passwordUpdater.java

This file was deleted.

3 changes: 2 additions & 1 deletion src/seedu/addressbook/commands/HelpCommand.java
Expand Up @@ -21,7 +21,8 @@ public class HelpCommand extends Command {
+ "\n" + ViewAllCommand.MESSAGE_USAGE
+ "\n" + HelpCommand.MESSAGE_USAGE
+ "\n" + LockCommand.MESSAGE_USAGE
+ "\n" + ExitCommand.MESSAGE_USAGE;
+ "\n" + ExitCommand.MESSAGE_USAGE
+ "\n" + UpdatePasswordCommand.MESSAGE_USAGE;

public static final String MESSAGE_PO_USAGES = FindCommand.MESSAGE_USAGE //TODO implement this to PO
+ "\n" + ListCommand.MESSAGE_USAGE
Expand Down
9 changes: 9 additions & 0 deletions src/seedu/addressbook/commands/UpdatePasswordCommand.java
@@ -0,0 +1,9 @@
package seedu.addressbook.commands;

public class UpdatePasswordCommand extends Command {

public static final String COMMAND_WORD = "update password";
public static final String MESSAGE_USAGE = COMMAND_WORD + ":\n" + "Updates a password\n\t"
+ "Example: " + COMMAND_WORD;

}