mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
accept in Wizzard usernames with digits
This commit is contained in:
parent
eea8bd18fe
commit
eb9886df65
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ static int all_account_information_entered(GtkWidget *w) {
|
|||
|
||||
if (gtk_entry_get_text_length(username) > 0 &&
|
||||
gtk_entry_get_text_length(domain) > 0 &&
|
||||
g_regex_match_simple("^[a-zA-Z]+[a-zA-Z0-9.\\-_]{2,}$", gtk_entry_get_text(username), 0, 0) &&
|
||||
g_regex_match_simple("^[a-zA-Z0-9]+[a-zA-Z0-9.\\-_]{2,}$", gtk_entry_get_text(username), 0, 0) &&
|
||||
g_regex_match_simple("^(sip:)?([a-zA-Z0-9]+([\\.-][a-zA-Z0-9]+)*)$", gtk_entry_get_text(domain), 0, 0)) {
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue