view libervia/pages/merge-requests/new/page_meta.py @ 1404:6a35167a4e2c

pages (login, register): fix `allow_registration`: if `allow_registration` is false: - `register_url` is not set in login page - register page returns HTTP_FORBIDDEN
author Goffi <goffi@goffi.org>
date Fri, 16 Apr 2021 18:38:45 +0200
parents e3e303a30a74
children
line wrap: on
line source

#!/usr/bin/env python3


from libervia.server.constants import Const as C
from sat.core.log import getLogger

log = getLogger(__name__)


name = "merge-requests_new"
access = C.PAGES_ACCESS_PUBLIC
template = "merge-request/create.html"