diff --git a/src/main/java/org/olat/basesecurity/model/AuthenticationHistoryImpl.java b/src/main/java/org/olat/basesecurity/model/AuthenticationHistoryImpl.java
index 849a45c4a62e286398dc1601b0d89b8bc0452159..96c8dad688365715eb39d3f252c6869b2e8ffd23 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)