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 | ||||
| 
 | ||||
| * 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 | ||||
|  |  | |||
|  | @ -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( | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 John McLear
						John McLear