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