Project

General

Profile

« Previous | Next » 

Revision c85ae535

Added by Stefan Bauer about 4 years ago

Allow group authentication for NoIP dyndns service.
Extend information for service NoIP to replace ':' in username by '#'.
Allow '#' in username.

View differences:

src/usr/local/www/services_dyndns_edit.php
34 34
		return false;
35 35
	}
36 36

  
37
	if (preg_match("/[^a-z0-9\-\+.@_:]/i", $uname)) {
37
	if (preg_match("/[^a-z0-9\-\+.@_:#]/i", $uname)) {
38 38
		return false;
39 39
	} else {
40 40
		return true;
......
404 404
			'Dreamhost: Enter a value to appear in the DNS record comment.%1$s' .
405 405
			'Godaddy: Enter the API key.%1$s' .
406 406
			'Cloudflare: Enter email for Global API Key or (optionally) Zone ID for API token.%1$s' .
407
			'NoIP: For group authentication, replace semicolon (:) with hash-key (#).%1s' .
407 408
			'For Custom Entries, Username and Password represent HTTP Authentication username and passwords.', '<br />');
408 409

  
409 410
$section->addPassword(new Form_Input(

Also available in: Unified diff