GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psql db schema test
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
eventz
/
reset_password.inc
diff --git
a/wwwroot/inc/eventz/reset_password.inc
b/wwwroot/inc/eventz/reset_password.inc
index 2e5f45bf630da12e13606884864a3110f48636f2..ecaae400660b6cfb2f55e9104bd1b3c5dfe3c6a3 100644
(file)
--- a/
wwwroot/inc/eventz/reset_password.inc
+++ b/
wwwroot/inc/eventz/reset_password.inc
@@
-9,28
+9,31
@@
function reset_password() {
if ($login == '') {
$error="Please enter name or id";
if ($login == '') {
$error="Please enter name or id";
+ print "$error";
return false;
}
if ($password1 == '' || $password2 == '') {
$error="Please enter password";
return false;
}
if ($password1 == '' || $password2 == '') {
$error="Please enter password";
+ print "$error";
return false;
}
if ($password1 != $password2) {
$error = "The two passwords that you entered do not match.";
return false;
}
if ($password1 != $password2) {
$error = "The two passwords that you entered do not match.";
+ print "$error";
return false;
}
return false;
}
- if ($login_type = 'id') {
+ if ($login_type =
=
'id') {
$login_id=$login;
$login='';
} else {
$login_id=0;
}
$error=nodes::resetPassword($login_id,$login,$vercode,$password1);
$login_id=$login;
$login='';
} else {
$login_id=0;
}
$error=nodes::resetPassword($login_id,$login,$vercode,$password1);
+ print "$error\n";
- $error="Password changed. Now you can login with your new password.";
return 0;
}
?>
return 0;
}
?>
This page took
0.183395 seconds
and
4
git commands to generate.