nextcloud批量隐藏联系人菜单(contactsmenu)中用户账号和邮箱方法
访问数据库: nextcloud »表: oc_accounts,浏览相应用户表,编辑“data”字段中的数据:
- {"displayname":{"value":"myname","scope":"v2-federated","verified":"0"},
- "address":{"value":"","scope":"v2-local","verified":"0"},
- "website":{"value":"","scope":"v2-local","verified":"0"},
- "email":{"value":"123456@qq.com","scope":"v2-federated","verified":"0"},
- "avatar":{"value":"","scope":"v2-federated","verified":"0"},
- "phone":{"value":"","scope":"v2-local","verified":"0"},
- "twitter":{"value":"","scope":"v2-local","verified":"0"},
- "organisation":{"value":"","scope":"v2-local","verified":"0"},
- "role":{"value":"","scope":"v2-local","verified":"0"},
- "headline":{"value":"","scope":"v2-local","verified":"0"},
- "biography":{"value":"","scope":"v2-local","verified":"0"},
- "profile_enabled":{"value":"1","scope":"v2-local","verified":"0"}}
复制代码 把其中的"displayname"和"email"参数中的"scope"值改为"v2-local"即可。
- "displayname":{"value":"myname","scope":"v2-local","verified":"0"},
- "email":{"value":"123456@qq.com","scope":"v2-local","verified":"0"},
复制代码
|
|