Changeset fa1a62327e5879206569bb8b3154fe72ede099c6 for weblogin
- Timestamp:
- 10/04/11 17:18:16 (8 months ago)
- Children:
- 4f41bd281e34bb390f60ea5e482fe163ea080fb6
- Parents:
- 3a845dd46340cce0aff10685d72437f72570920f
- git-committer:
- Neutron Soutmun <neo.neutron@…> (10/04/11 17:18:16)
- Location:
- weblogin
- Files:
-
- 2 modified
-
chpwd.php (modified) (2 diffs)
-
user.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
weblogin/chpwd.php
r5c032f4 rfa1a623 69 69 $radius_server); 70 70 if(!$user->start()) { 71 $message =_("C an not connectdatabase");71 $message =_("Could not connect to database"); 72 72 } 73 73 if($user->check_password($_POST['user'], $_POST['passwd'])) { 74 74 if ($_POST['newpass'] != $_POST['cfmpass']) { 75 $message = _(" Confirm password missmatch");75 $message = _("Password mismatch"); 76 76 } else { 77 77 if ($user->change_password($_POST['user'], $_POST['newpass'])) { … … 88 88 unset ($user); 89 89 } else { 90 $message = _("Please insertall information");90 $message = _("Please apply all information"); 91 91 } 92 92 -
weblogin/user.class.php
r19132fa rfa1a623 76 76 77 77 if (!$result) { 78 $this->message = _("Error to querydatabase");78 $this->message = _("Error: Could not get data from database"); 79 79 return FALSE; 80 80 } … … 118 118 119 119 if (!$result) { 120 $this->message = _("Error tochange password");120 $this->message = _("Error: Could not change password"); 121 121 return FALSE; 122 122 }
