#1 2016-04-06 12:37:21

From: Hong Kong
Registered: 2013-11-30
Posts: 48

[SOLVED] Cannot login after I changed own profile data (v

No change password, I  just modified my screen name of user, then I clicked "Save & close" and logout.
I tried to login again, it failed.

I discovered that  the column "salt" of user table in database was changed, even if you leaved blank of password field.

Now I solved it :

1. Open /application/controllers/admin/user.php
2. Find line 225, like the following code :

$post['salt'] = User()->get_salt();

3. Finally, change to like this :

$post['salt'] = $id_user ? $this->input->post('salt') : User()->get_salt();

Last edited by ccmksy (2016-04-23 14:08:24)


What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.


Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations