From 80acf5f1996405afd1a28d4759d039cff5090976 Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 7 Jan 2021 12:51:48 +0800 Subject: [PATCH] fix: update users collection config --- packages/plugin-users/src/collections/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-users/src/collections/users.ts b/packages/plugin-users/src/collections/users.ts index 601034427..cbf2b779a 100644 --- a/packages/plugin-users/src/collections/users.ts +++ b/packages/plugin-users/src/collections/users.ts @@ -13,6 +13,7 @@ export default { title: '用户名', unique: true, required: true, + createOnly: true, component: { type: 'string', showInTable: true, @@ -51,7 +52,6 @@ export default { type: 'password', name: 'password', title: '密码', - required: true, hidden: true, component: { type: 'password',