update email copy
This commit is contained in:
		
							parent
							
								
									bd15f45d1d
								
							
						
					
					
						commit
						ec65fe31cc
					
				| @ -215,17 +215,23 @@ function sendMail(state, auth) { | |||||||
|       -F subject='Hello' \ |       -F subject='Hello' \ | ||||||
|       -F text='Testing some Mailgun awesomeness!' |       -F text='Testing some Mailgun awesomeness!' | ||||||
|   */ |   */ | ||||||
|   var subj = 'Confirm New Device Connection'; |   var subj = "Confirm New Device for Your Telebit Account"; | ||||||
|   var text = "You tried connecting with '{{hostname}}' for the first time. Confirm to continue connecting:\n" |   var text = "Hello!\n" | ||||||
|  |         + '\n' | ||||||
|  |         + "Want to use '{{hostname}}' with Telebit?\n" | ||||||
|  |         + "Just confirm your email address by clicking the link below:\n" | ||||||
|         + '\n' |         + '\n' | ||||||
|         + '    https://' + state.config.webminDomain + '/login/#/magic={{secret}}\n' |         + '    https://' + state.config.webminDomain + '/login/#/magic={{secret}}\n' | ||||||
|         + '\n' |         + '\n' | ||||||
|         + "({{os_arch}} {{os_platform}} {{os_release}})\n" |         + "({{os_arch}} {{os_platform}} {{os_release}})\n" | ||||||
|         + '\n' |         + '\n' | ||||||
|         ; |         ; | ||||||
|   var html = "You tried connecting with '{{hostname}}' for the first time. Confirm to continue connecting:<br>" |   var html = "<h3>Hello!</h3>" | ||||||
|         + '<br>' |         + '<br>' | ||||||
|         + '          <a href="https://' + state.config.webminDomain + '/login/#/magic={{secret}}">Confirm Device</a><br>' |         + "Want to use '{{hostname}}' with Telebit?<br>" | ||||||
|  |         + "Just confirm your email address by clicking the link below:<br>" | ||||||
|  |         + '<br>' | ||||||
|  |         + '          <a href="https://' + state.config.webminDomain + '/login/#/magic={{secret}}">Confirm Email Address</a><br>' | ||||||
|         + '<br>' |         + '<br>' | ||||||
|         + '          <small>or copy and paste this link:</small><br>' |         + '          <small>or copy and paste this link:</small><br>' | ||||||
|         + '          <small>https://' + state.config.webminDomain + '/login/#/magic={{secret}}</small><br>' |         + '          <small>https://' + state.config.webminDomain + '/login/#/magic={{secret}}</small><br>' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user