Commit 3f31ef78 authored by Wolfgang's avatar Wolfgang

Fix login if user belongs to multiple groups

parent a1f8f85d
......@@ -67,7 +67,7 @@ else if ($exist:resource eq 'login') then (
<user>{$user}</user>
{
if ($user) then (
<groups json:array="true">{sm:get-user-groups($user)}</groups>,
sm:get-user-groups($user) ! <groups json:array="true">{.}</groups>,
<dba>{sm:is-dba($user)}</dba>
) else
()
......
......@@ -52,7 +52,7 @@ else if ($exist:resource eq 'login') then (
<user>{$user}</user>
{
if ($user) then (
<groups json:array="true">{sm:get-user-groups($user)}</groups>,
sm:get-user-groups($user) ! <groups json:array="true">{.}</groups>,
<dba>{sm:is-dba($user)}</dba>
) else
()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment