Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
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 032b169b
authored
2024-06-19 14:35:38 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
41cb4c7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/extensions/users-permissions/strapi-server.js
src/extensions/users-permissions/strapi-server.js
View file @
032b169
...
@@ -78,6 +78,7 @@ const userPermissionExtension = (plugin) => {
...
@@ -78,6 +78,7 @@ const userPermissionExtension = (plugin) => {
return
ctx
.
send
({
return
ctx
.
send
({
status
:
"fail"
,
status
:
"fail"
,
message
:
"Email or phone number already taken."
,
message
:
"Email or phone number already taken."
,
conflictingUserCount
});
});
}
}
...
@@ -92,6 +93,7 @@ const userPermissionExtension = (plugin) => {
...
@@ -92,6 +93,7 @@ const userPermissionExtension = (plugin) => {
return
ctx
.
send
({
return
ctx
.
send
({
status
:
"fail"
,
status
:
"fail"
,
message
:
"Email or phone number already taken."
,
message
:
"Email or phone number already taken."
,
conflictingUserCount
});
});
}
}
}
}
...
...
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