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
1180b951
authored
2024-10-16 17:02:19 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Handle blank password.
1 parent
24f8bd97
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
service/keycloak/KeycloakServices.groovy
service/keycloak/KeycloakServices.groovy
View file @
1180b95
...
...
@@ -167,7 +167,7 @@ Map<String, Object> syncUserAccount() {
logger
.
info
(
"Would update: keycloak(${keycloakUserId})"
)
updateUser
(
keycloakUserId
,
userId
)
if
(
newPassword
!=
null
)
{
if
(
newPassword
)
{
UserResource
userResource
=
usersResource
.
get
(
keycloakUserId
)
List
<
CredentialRepresentation
>
credentials
=
userResource
.
credentials
()
for
(
CredentialRepresentation
credential:
credentials
)
{
...
...
Please
register
or
sign in
to post a comment