From dd6bc8cb83369d6a8cfdf20c39a2030697ab17fc Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Wed, 19 Apr 2023 16:27:38 +0200 Subject: [PATCH] Fix: Show correct auth method in user details When viewing the details of a user, the correct authentication method is now shown. Previously only the table showed the correct method while the details always showed "Local". --- src/web/pages/users/details.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/pages/users/details.js b/src/web/pages/users/details.js index c05fde653a..ee96c9b278 100644 --- a/src/web/pages/users/details.js +++ b/src/web/pages/users/details.js @@ -71,7 +71,7 @@ export const convert_allow = ({addresses, allow}) => { }; const UserDetails = ({entity, links = true}) => { - const {auth_method, comment, groups = [], hosts = {}, roles = []} = entity; + const {authMethod, comment, groups = [], hosts = {}, roles = []} = entity; return ( @@ -129,7 +129,7 @@ const UserDetails = ({entity, links = true}) => { {_('Authentication Type')} - {convert_auth_method(auth_method)} + {convert_auth_method(authMethod)}