]> WPIA git - gigi.git/commitdiff
fix: a 0-point-assurance prexents account details editing
authorFelix Dörre <felix@dogcraft.de>
Sat, 14 Nov 2015 06:14:08 +0000 (07:14 +0100)
committerFelix Dörre <felix@dogcraft.de>
Sat, 14 Nov 2015 06:14:08 +0000 (07:14 +0100)
src/org/cacert/gigi/dbObjects/User.java

index 2bc1e563e971a235ed071bb728bb3b3e29880bb3..a77898662f43b819b85d0a89d08f2667ecb92ea2 100644 (file)
@@ -312,8 +312,7 @@ public class User extends CertificateOwner {
 
     public void updateUserData() throws GigiApiException {
         synchronized (Notary.class) {
-            // FIXME: No assurance, not no points.
-            if (getAssurancePoints() != 0) {
+            if (getReceivedAssurances().length != 0) {
                 throw new GigiApiException("No change after assurance allowed.");
             }
             rawUpdateUserData();