mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge branch 'dev' into miglock
This commit is contained in:
@@ -305,11 +305,14 @@ class User_Model extends CI_Model {
|
||||
// Hash password
|
||||
if($fields['user_password'] != NULL)
|
||||
{
|
||||
if ($fields['user_password'] !== $pwd_placeholder) {
|
||||
$decoded_password = htmlspecialchars_decode($fields['user_password']);
|
||||
$data['user_password'] = $this->_hash($decoded_password);
|
||||
if($data['user_password'] == EPASSWORDINVALID) {
|
||||
return EPASSWORDINVALID;
|
||||
if (!file_exists('.demo') || (file_exists('.demo') && $this->session->userdata('user_type') == 99)) {
|
||||
|
||||
if ($fields['user_password'] !== $pwd_placeholder) {
|
||||
$decoded_password = htmlspecialchars_decode($fields['user_password']);
|
||||
$data['user_password'] = $this->_hash($decoded_password);
|
||||
if($data['user_password'] == EPASSWORDINVALID) {
|
||||
return EPASSWORDINVALID;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Report-Msgid-Bugs-To: translations@wavelog.org\n"
|
||||
"POT-Creation-Date: 2024-08-05 13:04+0000\n"
|
||||
"POT-Creation-Date: 2024-08-05 19:45+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Report-Msgid-Bugs-To: translations@wavelog.org\n"
|
||||
"POT-Creation-Date: 2024-08-05 13:04+0000\n"
|
||||
"POT-Creation-Date: 2024-08-05 19:45+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
0
update_wavelog.sh
Executable file → Normal file
0
update_wavelog.sh
Executable file → Normal file
Reference in New Issue
Block a user