From ea763bfe8bd82c6a58da4a22dca6cae3bb70c5c6 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Fri, 2 Mar 2018 15:35:19 +0100
Subject: [PATCH] use sorter pathes

---
 lib/AccountManager/Tools.pm                                     | 2 +-
 templates/Makefile.am                                           | 2 +-
 .../valid-accounts.php.tt2 => accounts/accounts.php.tt2}        | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename templates/{accountProfiles/valid-accounts.php.tt2 => accounts/accounts.php.tt2} (100%)

diff --git a/lib/AccountManager/Tools.pm b/lib/AccountManager/Tools.pm
index c4a698f..56209f4 100644
--- a/lib/AccountManager/Tools.pm
+++ b/lib/AccountManager/Tools.pm
@@ -97,7 +97,7 @@ sub update_ssp_authsources {
     my $tt2 = Template->new({
         INCLUDE_PATH => $templates_dir
     });
-    my $template = 'accountProfiles/valid-accounts.php.tt2';
+    my $template = 'accounts/accounts.php.tt2';
     my $data = {
         accounts  => $accounts,
     };
diff --git a/templates/Makefile.am b/templates/Makefile.am
index e03d66b..577e059 100644
--- a/templates/Makefile.am
+++ b/templates/Makefile.am
@@ -1,5 +1,5 @@
 nobase_templates_DATA = \
-	accountProfiles/valid-accounts.php.tt2 \
+	accounts/accounts.php.tt2 \
 	mail/en/send_authentication_token.tt2.eml \
 	mail/fr/send_authentication_token.tt2.eml \
 	web/en/errors.tt2.html \
diff --git a/templates/accountProfiles/valid-accounts.php.tt2 b/templates/accounts/accounts.php.tt2
similarity index 100%
rename from templates/accountProfiles/valid-accounts.php.tt2
rename to templates/accounts/accounts.php.tt2
-- 
GitLab