diff --git a/conf/nginx.conf b/conf/nginx.conf index 53cc3d9..e934ffe 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -56,5 +56,5 @@ location ^~ YNH_WWW_PATH { # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; + # include conf.d/yunohost_panel.conf.inc; } diff --git a/conf/nginx_root.conf b/conf/nginx_root.conf index 15ab619..23411f6 100644 --- a/conf/nginx_root.conf +++ b/conf/nginx_root.conf @@ -56,5 +56,5 @@ location ^~ / { # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; + # include conf.d/yunohost_panel.conf.inc; } diff --git a/hooks/post_user_create b/hooks/post_user_create new file mode 100644 index 0000000..368de44 --- /dev/null +++ b/hooks/post_user_create @@ -0,0 +1,30 @@ +#!/bin/bash + +set -e + +# Retrieve arguments +username=$1 +app=#APP# + +# Source app helpers +source /usr/share/yunohost/helpers + +domain=$(