feat: hash user password when sign up

This commit is contained in:
2022-01-18 15:20:52 +08:00
parent faffbe1e00
commit 50d3da98a5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ abstract class _User extends BaseModel {
@SerializableField(isNullable: false)
String? get email;
@Column(isNullable: false, length: 32)
@Column(isNullable: false, length: 64)
@SerializableField(isNullable: true, exclude: true)
String? get password;