Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
moqui
/
moqui-keycloak
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fcac133a
authored
2023-05-10 08:25:43 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix indentation issue.
1 parent
8641efa9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
scripts/RestPreActions.groovy
scripts/RestPreActions.groovy
View file @
fcac133
...
...
@@ -85,12 +85,12 @@ if (ksc) {
if
(
accessToken
)
{
def
subject
=
accessToken
.
getSubject
()
EntityValue
userAccount
=
ec
.
entity
.
find
(
'UserAccount'
).
condition
(
'externalUserId'
,
subject
).
disableAuthz
().
one
()
ec
.
logger
.
info
(
"userAccount: ${userAccount}"
)
if
(
userAccount
)
{
//ec.user.pushUser(userAccount.username)
ec
.
user
.
internalLoginUser
(
userAccount
.
username
)
}
EntityValue
userAccount
=
ec
.
entity
.
find
(
'UserAccount'
).
condition
(
'externalUserId'
,
subject
).
disableAuthz
().
one
()
ec
.
logger
.
info
(
"userAccount: ${userAccount}"
)
if
(
userAccount
)
{
//ec.user.pushUser(userAccount.username)
ec
.
user
.
internalLoginUser
(
userAccount
.
username
)
}
}
}
...
...
Please
register
or
sign in
to post a comment