From e3c314c3cc46a0df57cbafb5e85fd641144a11fb Mon Sep 17 00:00:00 2001 From: srosse <none@none> Date: Thu, 19 Apr 2018 11:36:57 +0200 Subject: [PATCH] OO-3417: make it compatible with old data without salt and hash algorithm defined --- .../olat/basesecurity/model/AuthenticationHistoryImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/olat/basesecurity/model/AuthenticationHistoryImpl.java b/src/main/java/org/olat/basesecurity/model/AuthenticationHistoryImpl.java index 849a45c4a62..96c8dad6883 100644 --- a/src/main/java/org/olat/basesecurity/model/AuthenticationHistoryImpl.java +++ b/src/main/java/org/olat/basesecurity/model/AuthenticationHistoryImpl.java @@ -64,9 +64,9 @@ public class AuthenticationHistoryImpl implements CreateInfo, AuthenticationHist private String authusername; @Column(name="credential", nullable=false, insertable=true, updatable=false) private String credential; - @Column(name="salt", nullable=false, insertable=true, updatable=false) + @Column(name="salt", nullable=true, insertable=true, updatable=false) private String salt; - @Column(name="hashalgorithm", nullable=false, insertable=true, updatable=false) + @Column(name="hashalgorithm", nullable=true, insertable=true, updatable=false) private String algorithm; @OneToOne(targetEntity=IdentityImpl.class) -- GitLab