We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf68bc5 + bd01a16 commit aba5466Copy full SHA for aba5466
controller.xql
@@ -19,7 +19,11 @@ declare variable $app-root-absolute-url :=
19
;
20
21
declare function local:is-authorized-user() as xs:boolean {
22
- let $user := request:get-attribute($config:login-domain || ".user")
+ let $user := (
23
+ request:get-attribute($config:login-domain || ".user"),
24
+ sm:id()//sm:username/string()
25
+ )[1]
26
+
27
return
28
(
29
exists($user) and
0 commit comments