diff --git a/index.php b/index.php new file mode 100644 index 0000000..d766bfe --- /dev/null +++ b/index.php @@ -0,0 +1,37 @@ + + + + + + +
+ +
+ +
+ + +
+ +
+ + +
+ +
+ + + +
+ + diff --git a/liste.php b/liste.php new file mode 100644 index 0000000..94eb823 --- /dev/null +++ b/liste.php @@ -0,0 +1,14 @@ + diff --git a/process.sh b/process.sh new file mode 100644 index 0000000..4b3b993 --- /dev/null +++ b/process.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +if [[ -f requests ]] +then + source ~/.synapse/bin/activate + while read ligne + do + user=$(echo $ligne | cut -d":" -f1) + pass=$(echo $ligne | cut -d":" -f2) + mail=$(echo $ligne | cut -d":" -f3) +# register_new_matrix_user -c homeserver.yaml -u ${user} -p ${pass} -a "notadmin" https://localhost:8008 + echo register_new_matrix_user -c homeserver.yaml -u ${user} -p ${pass} -a "notadmin" https://localhost:8008 +# echo "$user / $pass" | mailx -s "Vos identifiants de connexion Matrix" $mail + done < requests +else + echo "Fichier requests introuvable" + exit 1 +fi +