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
1406b16f
Commit
1406b16f
authored
Jul 28, 2020
by
Amin.MasterkinG
Browse files
WTF! Why I did that?! xD
parent
06916d62
Changes
1
Hide whitespace changes
Inline
Side-by-side
application/include/user.php
View file @
1406b16f
...
...
@@ -51,7 +51,7 @@ class user
public
static
function
bnet_register
()
{
global
$antiXss
;
if
(
!
(
$_POST
[
'submit'
]
=
=
'register'
&&
!
empty
(
$_POST
[
'password'
])
&&
!
empty
(
$_POST
[
'repassword'
])
&&
!
empty
(
$_POST
[
'email'
]))
)
{
if
(
$_POST
[
'submit'
]
!
=
'register'
||
empty
(
$_POST
[
'password'
])
||
empty
(
$_POST
[
'repassword'
])
||
empty
(
$_POST
[
'email'
]))
{
return
false
;
}
...
...
@@ -107,7 +107,7 @@ class user
public
static
function
normal_register
()
{
global
$antiXss
;
if
(
!
(
$_POST
[
'submit'
]
=
=
'register'
&&
!
empty
(
$_POST
[
'password'
])
&&
!
empty
(
$_POST
[
'username'
])
&&
!
empty
(
$_POST
[
'repassword'
])
&&
!
empty
(
$_POST
[
'email'
]))
)
{
if
(
$_POST
[
'submit'
]
!
=
'register'
||
empty
(
$_POST
[
'password'
])
||
empty
(
$_POST
[
'username'
])
||
empty
(
$_POST
[
'repassword'
])
||
empty
(
$_POST
[
'email'
]))
{
return
false
;
}
...
...
@@ -196,7 +196,7 @@ class user
return
false
;
}
if
(
!
(
$_POST
[
'submit'
]
=
=
'changepass'
&&
!
empty
(
$_POST
[
'password'
])
&&
!
empty
(
$_POST
[
'old_password'
])
&&
!
empty
(
$_POST
[
'repassword'
])
&&
!
empty
(
$_POST
[
'email'
]))
)
{
if
(
$_POST
[
'submit'
]
!
=
'changepass'
||
empty
(
$_POST
[
'password'
])
||
empty
(
$_POST
[
'old_password'
])
||
empty
(
$_POST
[
'repassword'
])
||
empty
(
$_POST
[
'email'
]))
{
return
false
;
}
...
...
@@ -267,7 +267,7 @@ class user
return
false
;
}
if
(
!
(
$_POST
[
'submit'
]
=
=
'changepass'
&&
!
empty
(
$_POST
[
'password'
])
&&
!
empty
(
$_POST
[
'old_password'
])
&&
!
empty
(
$_POST
[
'repassword'
])
&&
!
empty
(
$_POST
[
'username'
]))
)
{
if
(
$_POST
[
'submit'
]
!
=
'changepass'
||
empty
(
$_POST
[
'password'
])
||
empty
(
$_POST
[
'old_password'
])
||
empty
(
$_POST
[
'repassword'
])
||
empty
(
$_POST
[
'username'
]))
{
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