feat: set app name and logo on install and disable signup

- set app_name and app_logo_url on install
- disabled signup
This commit is contained in:
Anand Chitipothu
2021-05-04 23:17:41 +05:30
parent b58a685e7a
commit 82faaed15d
2 changed files with 21 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from . import __version__ as app_version
import os
app_name = "community"
app_title = "Community"
@@ -10,6 +11,9 @@ app_icon = "octicon octicon-file-directory"
app_color = "grey"
app_email = "jannat@erpnext.com"
app_license = "AGPL"
app_logo_url = os.getenv("APP_LOGO_URL") or "/files/logo.png"
# Includes in <head>
# ------------------
@@ -59,7 +63,7 @@ web_include_css = "/assets/css/community.css"
# ------------
# before_install = "community.install.before_install"
# after_install = "community.install.after_install"
after_install = "community.install.after_install"
# Desk Notifications
# ------------------