Beispiel #1
0
def validate_host(host, default_func, bare_from_jid):
    return account.no_whitespace_field("host", account.mandatory_field("host", host))
Beispiel #2
0
def validate_login(login, default_func, bare_from_jid):
    return account.no_whitespace_field("login", account.mandatory_field("login", login))