Commit cd6da0ab authored by Matija Obreza's avatar Matija Obreza

Make User#loginType default to PASSWORD

parent 0c2e5832
......@@ -83,7 +83,7 @@ public class User extends BusinessModel {
@Enumerated(EnumType.STRING)
@Column(name = "loginType", length=10, nullable=false, columnDefinition="VARCHAR(10) DEFAULT 'PASSWORD'")
private LoginType loginType;
private LoginType loginType = LoginType.PASSWORD;
// validation
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment