validation and user interface semi working
This commit is contained in:
parent
8b5e708480
commit
9cd41efb1d
2 changed files with 1 additions and 5 deletions
|
@ -1,7 +1,5 @@
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
* Option in UI to add email without prompt
|
|
||||||
* validation
|
|
||||||
* a point to unsubscribe
|
* a point to unsubscribe
|
||||||
* stop the ui prompting if already subscribed
|
* stop the ui prompting if already subscribed
|
||||||
* send actual emails with content
|
* send actual emails with content
|
||||||
|
|
|
@ -55,9 +55,7 @@ exports.handleMessage = function(hook_name, context, callback){
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if(alreadyExists == false && validatesAsEmail){
|
||||||
if(alreadyExists == false && validatesAsEmail == true){
|
|
||||||
|
|
||||||
console.warn ("Wrote to the database and sent client a positive response ",context.message.data.userInfo.email);
|
console.warn ("Wrote to the database and sent client a positive response ",context.message.data.userInfo.email);
|
||||||
|
|
||||||
exports.setAuthorEmail(
|
exports.setAuthorEmail(
|
||||||
|
|
Loading…
Add table
Reference in a new issue