summaryrefslogtreecommitdiff
path: root/src/leap/gui/constants.py
blob: c874cbc9b3966da186ae3448fe05a6dd144f799c (plain)
1
2
3
4
5
6
7
8
APP_LOGO = ':/images/leap-color-small.png'

# bare is the username portion of a JID
# full includes the "at" and some extra chars
# that can be allowed for fqdn

BARE_USERNAME_REGEX = r"^[A-Za-z\d_]+$"
FULL_USERNAME_REGEX = r"^[A-Za-z\d_@.-]+$"