Skip to content

Commit

Permalink
bump to 1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaFilipozzi committed Apr 9, 2024
1 parent 4c5d363 commit 8799b25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,17 @@ public void init(Config.Scope config) {

@Override
public void postInit(KeycloakSessionFactory factory) {
LOG.error("postInit() - entry");
factory.register(
event -> {
if (event instanceof PostMigrationEvent) {
LOG.error("postInit() - registering task");
KeycloakSession session = factory.create();
TimerProvider timer = session.getProvider(TimerProvider.class);
timer.scheduleTask(this::disableUsers, taskInterval, "disable-users-task");
}
});
LOG.error("postInit() - entry");
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</scm>

<properties>
<revision>1.6.2</revision>
<revision>1.6.3</revision>
<github.account>LucaFilipozzi</github.account>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<keycloak.version>18.0.2</keycloak.version>
Expand Down

0 comments on commit 8799b25

Please sign in to comment.