File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public function loginMe()
6060 }
6161 else
6262 {
63- $ email = $ this ->security ->xss_clean ($ this ->input ->post ('email ' ));
63+ $ email = strtolower ( $ this ->security ->xss_clean ($ this ->input ->post ('email ' ) ));
6464 $ password = $ this ->input ->post ('password ' );
6565
6666 $ result = $ this ->login_model ->loginMe ($ email , $ password );
@@ -130,7 +130,7 @@ function resetPasswordUser()
130130 }
131131 else
132132 {
133- $ email = $ this ->security ->xss_clean ($ this ->input ->post ('login_email ' ));
133+ $ email = strtolower ( $ this ->security ->xss_clean ($ this ->input ->post ('login_email ' ) ));
134134
135135 if ($ this ->login_model ->checkEmailExist ($ email ))
136136 {
@@ -214,7 +214,7 @@ function createPasswordUser()
214214 {
215215 $ status = '' ;
216216 $ message = '' ;
217- $ email = $ this ->input ->post ("email " );
217+ $ email = strtolower ( $ this ->input ->post ("email " ) );
218218 $ activation_id = $ this ->input ->post ("activation_code " );
219219
220220 $ this ->load ->library ('form_validation ' );
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ function addNewUser()
124124 else
125125 {
126126 $ name = ucwords (strtolower ($ this ->security ->xss_clean ($ this ->input ->post ('fname ' ))));
127- $ email = $ this ->security ->xss_clean ($ this ->input ->post ('email ' ));
127+ $ email = strtolower ( $ this ->security ->xss_clean ($ this ->input ->post ('email ' ) ));
128128 $ password = $ this ->input ->post ('password ' );
129129 $ roleId = $ this ->input ->post ('role ' );
130130 $ mobile = $ this ->security ->xss_clean ($ this ->input ->post ('mobile ' ));
@@ -206,7 +206,7 @@ function editUser()
206206 else
207207 {
208208 $ name = ucwords (strtolower ($ this ->security ->xss_clean ($ this ->input ->post ('fname ' ))));
209- $ email = $ this ->security ->xss_clean ($ this ->input ->post ('email ' ));
209+ $ email = strtolower ( $ this ->security ->xss_clean ($ this ->input ->post ('email ' ) ));
210210 $ password = $ this ->input ->post ('password ' );
211211 $ roleId = $ this ->input ->post ('role ' );
212212 $ mobile = $ this ->security ->xss_clean ($ this ->input ->post ('mobile ' ));
You can’t perform that action at this time.
0 commit comments