Loading...
 
Features / Usability

Features / Usability


User cannot change password in user preferences

posts: 2

Hi,

I am new with Tikiwiki. Recently, I installed Tikiwiki 12 LTS.

So, I enable user preferences and allow users to change their password. The problem is when a user goes to MyTiki>Preferences>Account Information, enters new and the current password, then save changes, it throws an Error that says "Invalid password. Your current password is required to change administrative information."

I can walk around this problem with 'forgot my password' but it is very inconvenient for users.

I really appreciate if anyone could help me ping point the cause and the solution for this problem.

Many thanks..

posts: 1563 Germany

Hi nubKnight,

in /tiki-admin.php?page=login you can specify the requirements of the password, like minimum number of characters, special characters, etc..

You should check the requirements there and you should try with a testuser yourself and check the actual error message - maybe your user does not report completely or does not understand a system message, that would explain why the password would be invalid.

Just meant as first steps to go though, to eliminate error 40.

Regards,
T.


posts: 2

Hi,

Thanks for your reply.

For the test purpose, I turned off all other requirements for login password, only kept the minimum length is 5 characters.

I did test it with a test account. To make sure that I did not mistype anything, I copied and pasted my test's password to the 'current password' text box. When I saved it, It will throw the error saying "Invalid password. Your current password is required to change administrative information".

Another note is after I commented out the block of code for throwing that error message (line 274-285) in tiki-user_preferences.php, I could change the password and 'Account deletion' tab is now visible in 'user preferences' window.


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting