comparison libervia/common/constants.py @ 1202:3f791fbc1643

server: if "redirections" is not set, use "/login" page as default
author Goffi <goffi@goffi.org>
date Fri, 12 Jul 2019 14:58:11 +0200
parents 3b844004c0b4
children 889e8d07e957
comparison
equal deleted inserted replaced
1201:f1f03b08e1f4 1202:3f791fbc1643
25 25
26 # XXX: we don't want to use the APP_VERSION inherited from sat.core.constants version 26 # XXX: we don't want to use the APP_VERSION inherited from sat.core.constants version
27 # as we use this version to check that there is not a mismatch with backend 27 # as we use this version to check that there is not a mismatch with backend
28 APP_VERSION = u"0.7.0D" # Please add 'D' at the end for dev versions 28 APP_VERSION = u"0.7.0D" # Please add 'D' at the end for dev versions
29 LIBERVIA_MAIN_PAGE = "libervia.html" 29 LIBERVIA_MAIN_PAGE = "libervia.html"
30 LIBERVIA_PAGE_START = "/login"
30 31
31 # REGISTRATION 32 # REGISTRATION
32 # XXX: for now libervia forces the creation to lower case 33 # XXX: for now libervia forces the creation to lower case
33 # XXX: Regex patterns must be compatible with both Python and JS 34 # XXX: Regex patterns must be compatible with both Python and JS
34 REG_LOGIN_RE = r"^[a-z0-9_-]+$" 35 REG_LOGIN_RE = r"^[a-z0-9_-]+$"