From 5e3872411196dd7e4f036db0fefc23036c24d440 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Mon, 30 Dec 2024 07:30:17 -0600 Subject: [PATCH] Fix API key authentication (#15275) This fixes a typo that caused pam authentication failures for API key authentication in nightlies. --- .../middlewared/etc_files/pam.d/middleware-api-key.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewared/middlewared/etc_files/pam.d/middleware-api-key.mako b/src/middlewared/middlewared/etc_files/pam.d/middleware-api-key.mako index 8a1b44cb99f2b..f077dbaca91ac 100644 --- a/src/middlewared/middlewared/etc_files/pam.d/middleware-api-key.mako +++ b/src/middlewared/middlewared/etc_files/pam.d/middleware-api-key.mako @@ -19,7 +19,7 @@ auth [success=1 default=die] pam_tdb.so ${truenas_admin_string} %if ds_auth: @include common-account %else: -${'\n'.join(line.as_conf() for line in STANDALONE_AUTH.primary)} +${'\n'.join(line.as_conf() for line in STANDALONE_ACCOUNT.primary)} @include common-account-unix %endif password required pam_deny.so