Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
P
PHP App
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
IF3110-2023-02-J
PHP App
Commits
d65f7bba
Commit
d65f7bba
authored
Nov 16, 2023
by
Haidar
Browse files
Options
Downloads
Patches
Plain Diff
feat: edit register parameter pass soap
parent
b7743cdc
No related branches found
No related tags found
1 merge request
!2
feat: edit register parameter pass soap
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/auth/Register.php
+6
-1
6 additions, 1 deletion
api/auth/Register.php
with
6 additions
and
1 deletion
api/auth/Register.php
+
6
−
1
View file @
d65f7bba
...
...
@@ -24,7 +24,12 @@ $stmt->bind_param("sss", $username, $email, $en_password);
if
(
$stmt
->
execute
()
===
TRUE
)
{
try
{
$arg0
=
$username
;
$query
=
"SELECT IFNULL(MAX(id), 0) + 1 AS next_user_id FROM users"
;
$result
=
$conn
->
query
(
$query
);
$row
=
$result
->
fetch_assoc
();
$nextUserId
=
$row
[
'next_user_id'
];
$arg0
=
$nextUserId
;
$arg1
=
password_hash
(
$password
,
PASSWORD_BCRYPT
);
$requestBody
=
'<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment