Commit 186bf8fe authored by Matija Obreza's avatar Matija Obreza
Browse files

Use random UUID for BasicUser!

parent 1d140c51
......@@ -101,7 +101,7 @@ public abstract class BasicUser<R extends GrantedAuthority> extends AuditedVersi
@PrePersist
void ensureUUID() {
if (this.uuid == null) {
this.uuid = UUID.nameUUIDFromBytes(getEmail().getBytes()).toString();
this.uuid = UUID.randomUUID().toString();
}
}
......
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