UserTest updated
[staff/due1/sed-hs15-srs-purple.git] / src / main / java / ch / bfh / ti / srs / dataschema / User.java
index 1a77e06..2409875 100644 (file)
@@ -66,6 +66,7 @@ public class User implements Cloneable {
 
                this.userName = userName;
                this.hashedPassword = Password.getSaltedHash(password);
+               this.roles.add(Role.User);
        }
 
        public String getUserName() {