From babfb64e27b49be7f59b1ac26424f6835afc5775 Mon Sep 17 00:00:00 2001 From: Jens Reimann Date: Thu, 5 Mar 2015 13:39:43 +0100 Subject: [PATCH] always trigger --- .../de/dentrassi/pm/sec/service/jpa/DatabaseUserService.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/de.dentrassi.pm.sec.service.jpa/src/de/dentrassi/pm/sec/service/jpa/DatabaseUserService.java b/de.dentrassi.pm.sec.service.jpa/src/de/dentrassi/pm/sec/service/jpa/DatabaseUserService.java index 07f1d5ab..2d148f84 100644 --- a/de.dentrassi.pm.sec.service.jpa/src/de/dentrassi/pm/sec/service/jpa/DatabaseUserService.java +++ b/de.dentrassi.pm.sec.service.jpa/src/de/dentrassi/pm/sec/service/jpa/DatabaseUserService.java @@ -670,10 +670,7 @@ private void processPasswordChange ( final EntityManager em, final String email, checkPassword ( password ); - if ( user.getPasswordHash () == null ) - { - clearHasUserCacheAdded (); - } + clearHasUserCacheAdded (); applyPassword ( user, password );