Show
Ignore:
Timestamp:
08/24/11 22:03:53 (21 months ago)
Author:
plg
Message:

feature 2027 implemented: the "lost password" feature was rewritten.

The algorithm is highly inspired from WordPress :

1) in a single field, you give a username or an email
2) Piwigo sends an email with the activation key
3) the user clicks on the link in the email (with the activation key) and is able to set a new password

The "lost password" feature is no longer limited to "classic" users:
administrators and webmasters can use it too (no need to tell webmasters
that they can only change their password in the database)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/install/piwigo_structure-mysql.sql

    r11893 r11992  
    418418  `enabled_high` enum('true','false') NOT NULL default 'true', 
    419419  `level` tinyint unsigned NOT NULL default '0', 
     420  `activation_key` char(20) default NULL, 
    420421  UNIQUE KEY `user_infos_ui1` (`user_id`) 
    421422) ENGINE=MyISAM;