Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REFACTORING/IMPROVEMENT] 1-minimal deep rewrite #98

Closed
wants to merge 33 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
366eaec
Update Registration.php
nyamsprod Jun 30, 2013
41c4947
Update Registration.php
nyamsprod Jun 30, 2013
a5abd2e
Update Registration.php
nyamsprod Jun 30, 2013
fe42bc0
Update Registration.php
nyamsprod Jun 30, 2013
51a7210
Update db.php
nyamsprod Jun 30, 2013
9bbf08c
Update Registration.php
nyamsprod Jun 30, 2013
11be254
typo fix
nyamsprod Jun 30, 2013
5302c6f
Update Registration.php
nyamsprod Jun 30, 2013
0c45054
Update Registration.php
nyamsprod Jun 30, 2013
cdd481c
Registration is extended from Auth.php
nyamsprod Jul 1, 2013
9216378
Login/php extends Auth.php
nyamsprod Jul 1, 2013
2f6b2f3
Create Auth.php
nyamsprod Jul 1, 2013
04b8800
Added function to validate submitted data
nyamsprod Jul 1, 2013
4009d4e
Added PHPDocs comments
nyamsprod Jul 1, 2013
7189e45
Adding check to see if the session is not corrupted
nyamsprod Jul 1, 2013
ba8166f
Added Methods and PHPDocs comments
nyamsprod Jul 1, 2013
fe524eb
Update Login.php
nyamsprod Jul 1, 2013
35c41db
Update Registration.php
nyamsprod Jul 1, 2013
6fa71f8
Update Registration.php
nyamsprod Jul 1, 2013
cbff6b8
Update Auth.php
nyamsprod Jul 1, 2013
f3c8693
Update Registration.php
nyamsprod Jul 1, 2013
54abd4e
Update Registration.php
nyamsprod Jul 1, 2013
4d67fc1
Change method visibility
nyamsprod Jul 1, 2013
1903f8e
Update Login.php
nyamsprod Jul 1, 2013
51c8c7b
Update register.php
nyamsprod Jul 1, 2013
1400bf1
Update not_logged_in.php
nyamsprod Jul 1, 2013
25dca9c
Update not_logged_in.php
nyamsprod Jul 1, 2013
34aa25b
Update register.php
nyamsprod Jul 1, 2013
c5332c4
Update index.php
nyamsprod Jul 1, 2013
b858f08
Update register.php
nyamsprod Jul 1, 2013
0d8d0b8
Bug and indentation fixes
ignace-dev Jul 1, 2013
937125a
Bug fixes and example rewrite to help understand the new code for 1-m…
ignace-dev Jul 2, 2013
d1edbde
Update db.php
nyamsprod Jul 2, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Registration.php
  • Loading branch information
nyamsprod committed Jul 1, 2013
commit 6fa71f85c76d79af6c5eb4cd853b4b13b1243741
2 changes: 1 addition & 1 deletion 1-minimal/classes/Registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private function registerNewUser()
}
}
if (empty($this->errors) && ($params['user_password_new'] != $params['user_password_repeat'])) {
$this->errors['user_password'] = self::DATA_MISMATCH;
$this->errors['user_password_repeat'] = self::DATA_MISMATCH;
}
if (count($this->errors)) {
return false;
Expand Down