Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
entrix
WoWSimpleRegistration
Commits
c413a0a7
Unverified
Commit
c413a0a7
authored
Aug 13, 2020
by
Amin.MasterkinG
Committed by
GitHub
Aug 13, 2020
Browse files
Fixed issues of change password for SPR6
parent
e8ad4d97
Changes
1
Hide whitespace changes
Inline
Side-by-side
application/include/user.php
View file @
c413a0a7
...
...
@@ -295,10 +295,7 @@ class user
list
(
$salt
,
$verifier
)
=
getRegistrationData
(
strtoupper
(
$userinfo
[
'username'
]),
$_POST
[
'password'
]);
database
::
$auth
->
update
(
'account'
,
[
'salt'
=>
$salt
,
'verifier'
=>
$verifier
,
'sessionkey'
=>
''
,
'v'
=>
''
,
's'
=>
''
'verifier'
=>
$verifier
],
[
'id[=]'
=>
$userinfo
[
'id'
]
]);
...
...
@@ -378,10 +375,7 @@ class user
list
(
$salt
,
$verifier
)
=
getRegistrationData
(
strtoupper
(
$userinfo
[
'username'
]),
$_POST
[
'password'
]);
database
::
$auth
->
update
(
'account'
,
[
'salt'
=>
$salt
,
'verifier'
=>
$verifier
,
'sessionkey'
=>
''
,
'v'
=>
''
,
's'
=>
''
'verifier'
=>
$verifier
],
[
'id[=]'
=>
$userinfo
[
'id'
]
]);
...
...
@@ -512,9 +506,6 @@ class user
database
::
$auth
->
update
(
'account'
,
[
'salt'
=>
$salt
,
'verifier'
=>
$verifier
,
'sessionkey'
=>
''
,
'v'
=>
''
,
's'
=>
''
,
'restore_key'
=>
'1'
],
[
'id[=]'
=>
$userinfo
[
'id'
]
...
...
@@ -546,9 +537,6 @@ class user
database
::
$auth
->
update
(
'account'
,
[
'salt'
=>
$salt
,
'verifier'
=>
$verifier
,
'sessionkey'
=>
''
,
'v'
=>
''
,
's'
=>
''
,
'restore_key'
=>
'1'
],
[
'id[=]'
=>
$userinfo
[
'id'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment