validation and user interface semi working

This commit is contained in:
John McLear 2013-01-31 01:30:28 +00:00
parent 8b5e708480
commit 9cd41efb1d
2 changed files with 1 additions and 5 deletions

View file

@ -1,7 +1,5 @@
# TODO
* Option in UI to add email without prompt
* validation
* a point to unsubscribe
* stop the ui prompting if already subscribed
* send actual emails with content

View file

@ -55,9 +55,7 @@ exports.handleMessage = function(hook_name, context, callback){
}
});
}
if(alreadyExists == false && validatesAsEmail == true){
if(alreadyExists == false && validatesAsEmail){
console.warn ("Wrote to the database and sent client a positive response ",context.message.data.userInfo.email);
exports.setAuthorEmail(