Changeset 247
- Timestamp:
- 05/23/07 11:22:58
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
FreakAuth/trunk/www/system/application/libraries/Freakauth_light.php
r231 r247 455 455 $this->_set_logindata($userdata); 456 456 457 //set FLASH MESSAGE 458 $this->CI->db_session->set_flashdata('flashMessage', $this->CI->lang->line('FAL_login_message'), 1); 459 460 457 // set FLASH MESSAGE 458 // (redirection is done in FAL_front if TRUE is returned) 459 flashMsg( $this->CI->lang->line('FAL_login_message') ); 461 460 return true; 462 461 } 463 462 else 463 { 464 464 $message = $this->CI->lang->line('FAL_banned_user_message'); 465 } 465 466 } 466 467 } 467 468 } 468 469 469 // On error send user back to login page, and add error message470 // set FLASH MESSAGE471 $this->CI->db_session->set_flashdata('flashMessage', $message, 1);472 470 // On error send user back to login page, and add error message 471 // set FLASH MESSAGE 472 flashMsg( $message ); 473 // FIXME : if false is returned, no redirection is done in FAL_front 473 474 return false; 474 475 } … … 550 551 551 552 //set FLASH MESSAGE 552 $this->CI->db_session->set_flashdata('flashMessage', $this->CI->lang->line('FAL_invalid_register_message'), 1); 553 flashMsg( $this->CI->lang->line('FAL_invalid_register_message') ); 554 // FIXME : if false is returned, no redirection is done in FAL_front 553 555 return false; 554 556 } … … 646 648 $msg = $this->CI->lang->line('FAL_forgotten_password_user_not_found_message'); 647 649 flashMsg($msg); 648 650 // FIXME : if false is returned, no redirection is done in FAL_front 649 651 return false; 650 652 }
