mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-21 15:56:30 +00:00
Update User_model.php
This commit is contained in:
parent
b36c8a4cd1
commit
2b110b6d63
@ -217,7 +217,7 @@ class User_Model extends CI_Model {
|
||||
$encrypted_password = $this->encryption->encrypt($callbook_password);
|
||||
|
||||
// Insert the encrypted password into the database
|
||||
$this->db->query("INSERT INTO user_options (user_id, option_type, option_name, option_key, option_value) VALUES (" . $insert_id . ", 'callbook', 'callbook_password', 'password', '" . xss_clean($encrypted_password) . "');");
|
||||
$this->db->query("INSERT INTO user_options (user_id, option_type, option_name, option_key, option_value) VALUES (" . $insert_id . ", 'callbook', 'callbook_password', 'value', '" . xss_clean($encrypted_password) . "');");
|
||||
|
||||
return OK;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user