diff --git a/bin/access-check-manager.pl.in b/bin/access-check-manager.pl.in
index 6cfcc7a04e62ae4b6a508cbb987696affaed3ba5..570172f0a46f76d0508a38c09ba8f66971932323 100755
--- a/bin/access-check-manager.pl.in
+++ b/bin/access-check-manager.pl.in
@@ -153,7 +153,7 @@ sub list_accounts {
         eval {
             AccountManager::Tools::update_ssp_authsources(
                 $configuration->{setup}->{templates_dir},
-                $configuration->{idp}->{accounts_file},
+                $configuration->{setup}->{accounts_file},
                 $accounts
             );
         };