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.
1 parent cf68bc5 commit bd01a16Copy full SHA for bd01a16
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