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
967664dc
Unverified
Commit
967664dc
authored
Aug 20, 2020
by
Amin.MasterkinG
Committed by
GitHub
Aug 20, 2020
Browse files
Update user.php
parent
c413a0a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
application/include/user.php
View file @
967664dc
...
...
@@ -287,7 +287,7 @@ class user
'id[=]'
=>
$userinfo
[
'id'
]
]);
}
else
{
if
(
verifySRP6
(
$userinfo
[
'username'
],
$_POST
[
'old_password'
],
$userinfo
[
'salt'
],
$userinfo
[
'verifier'
]))
{
if
(
!
verifySRP6
(
$userinfo
[
'username'
],
$_POST
[
'old_password'
],
$userinfo
[
'salt'
],
$userinfo
[
'verifier'
]))
{
error_msg
(
'Old password is not valid.'
);
return
false
;
}
...
...
@@ -367,7 +367,7 @@ class user
'id[=]'
=>
$userinfo
[
'id'
]
]);
}
else
{
if
(
verifySRP6
(
$userinfo
[
'username'
],
$_POST
[
'old_password'
],
$userinfo
[
'salt'
],
$userinfo
[
'verifier'
]))
{
if
(
!
verifySRP6
(
$userinfo
[
'username'
],
$_POST
[
'old_password'
],
$userinfo
[
'salt'
],
$userinfo
[
'verifier'
]))
{
error_msg
(
'Old password is not valid.'
);
return
false
;
}
...
...
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