forked from coolaj86/telebit.js
		
	bugfix
This commit is contained in:
		
							parent
							
								
									800644a59e
								
							
						
					
					
						commit
						55ee58290b
					
				| @ -200,7 +200,7 @@ function serveControls() { | |||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         // TODO check for message from remote about email
 |         // TODO check for message from remote about email
 | ||||||
|         if (/\btelebit\.cloud\b/i.test(conf.relay) && state.config.email && !state.token) { |         if (/\btelebit\.cloud\b/i.test(state.config.relay) && state.config.email && !state.token) { | ||||||
|           res.statusCode = 200; |           res.statusCode = 200; | ||||||
|           res.end('{"success":true,"code":"AWAIT_AUTH","message":"Check your email. You must verify your email address to activate this device."}'); |           res.end('{"success":true,"code":"AWAIT_AUTH","message":"Check your email. You must verify your email address to activate this device."}'); | ||||||
|         } else { |         } else { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user