Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
strapi-setup-file
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit f9169f2e
authored
2023-02-22 17:20:33 +0530
by
jay
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
b9e3e076
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
src/api/cp-connect-page/content-types/cp-connect-page/schema.json
src/extensions/users-permissions/strapi-server.js
src/api/cp-connect-page/content-types/cp-connect-page/schema.json
View file @
f9169f2
...
...
@@ -29,11 +29,22 @@
"required"
:
true
},
"cpGuidelines"
:
{
"type"
:
"media"
,
"multiple"
:
false
,
"required"
:
false
,
"allowedTypes"
:
[
"images"
,
"files"
,
"videos"
,
"audios"
]
},
"invoice"
:
{
"allowedTypes"
:
[
"images"
,
"videos"
,
"audios"
,
"files"
],
"type"
:
"media"
,
"multiple"
:
false
...
...
src/extensions/users-permissions/strapi-server.js
View file @
f9169f2
...
...
@@ -603,7 +603,7 @@ const userPermissionExtension = (plugin) => {
.
add
(
newUser
);
const
sanitizedUser
=
await
sanitizeUser
(
user
,
ctx
);
console
.
log
(
"SANITIZE sanitizedUser"
,
sanitizedUser
);
//
console.log("SANITIZE sanitizedUser", sanitizedUser);
// if (settings.email_confirmation) {
// try {
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment