In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000948 [In-Portal CMS] Front End feature request always 2010-12-13 10:32 2012-07-25 05:33
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B1
Status closed Product Version 5.1.1 Target Version 5.2.0
Time EstimateNo estimate
Summary 0000948: Change in "Forgot Password" logic
Description There are several issues with current Forgot Password functionality:

1. User nees to perform 6 steps to restore his password (he also needs to go to his profile to change it to whatever he want later). Not too user friendly.
2. It's not secure to send passwords by email.
3. Auto-generated passwords are very hard to remember (not user friendly) vs. the ones that user enters on his own.


Proposed solution is to send "forgot password" like link to his email and then he can change his password to what ever he wants.

Simplify this scheme this way:

1. user clicks "Forgot Password" link on login page
2. user enters his email or login
3. user presses "Send Password" button
4. user receives email with confirmation link
5. when user clicks on that link, then he is brought to password change form where user enter his new password (2 times) and immediately got logged in

This way user gets his password changed quickly and new password isn't sent by email.


NOTE: There is a need to add a hint to "Assign password automatically" configuration option under Configuration->Users:General section, saying:

"Not encrypted passwords will be send to user by email"

Additional Information Currently it works this way:

1. user clicks "Forgot Password" link on login page
2. user enters his email or login
3. user presses "Send Password" button
4. user receives email with confirmation link
5. when user clicks on that link, then he is brought to confirmation page
6. when user clicks "Yes" on that confirmation page, then new password is generated and sent to it by email (not too secure)
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/lfqeAuXWWko/discussion
Change Log Message Improved "Forgot Password" logic
Estimate Points 2
Attached Files patch file icon forgot_password_imporvements_core.patch [^] (29,267 bytes) 2011-07-13 06:40 [Show Content]
patch file icon forgot_password_imporvements_themes.patch [^] (2,818 bytes) 2011-07-13 06:40 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
parent of 0001044closed (5.1.3)alex Expiration of registration with "Email Activation" can't be changed 
related to 0001095closed (5.1.3)alex Error messages are displayed on unrelated forms 
related to 0001201closed (5.2.0)alex Fatal error during Installation on States import with MySQL in Strict Mode 

-  Notes
User avatar (0003629)
alex (manager)
2011-07-13 06:39

Not obvious things in the patch:
1. password field now keeps password, when there is an error on a form (before you needed to re-enter password after each error) - now works, like in admin console
2. u:OnResetPasswordConfirmed and u:OnResetPassword events were removed
3. fields PassResetTime and MinPwResetDelay were removed from PortalUser table, since they weren't used anywhere
4. email events USER.PSWD (user and admin) were removed, since there is no longer needed to send newly generated password to a user
5. field PwResetConfirm in PortalUser table made NOT NULL to comply with rules
6. changed translation of LU_TEXT_FORGOTPASSHASBEENRESET phrase to match new forgot password logic
7. u_TestCodeIsValid tag logic moved to UserHelper, so now it can be used where needed
8. session is no longer used in forgot password reset process (email event content isn't changed)
9. tags u_ActivationLink and u_ActivationUser changed, since they used fields from forgot password reset system
User avatar (0003630)
alex (manager)
2011-07-13 06:41

Will test later, but commit right now to ease merge process from 5.1.x branch.
User avatar (0003631)
alex (manager)
2011-07-13 06:42

Fix committed to 5.2.x branch. Commit Message:

Fixes 0000948: Change in "Forgot Password" logic
User avatar (0005076)
alex (manager)
2012-07-25 05:33

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r14472
Timestamp: 2011-07-13 06:42:22
Author: alex
Details ] Diff ]
Fixes 0000948: Change in "Forgot Password" logic
mod - /in-portal/branches/5.2.x/admin/system_presets/simple/users_u.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/english.lang Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_data.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_schema.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/helpers/user_helper.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/users/users_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/users/users_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/users/users_tag_processor.php Diff ] File ]
Themes :: Advanced: 1.2.x r14471
Timestamp: 2011-07-13 06:41:56
Author: alex
Details ] Diff ]
Bug 0000948: Change in "Forgot Password" logic
mod - /themes/advanced/branches/1.2.x/platform/elements/forms.elm.tpl Diff ] File ]
mod - /themes/advanced/branches/1.2.x/platform/login/forgot_password_reset.tpl Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:33 alex Note Added: 0005076
2012-07-25 05:33 alex Status resolved => closed
2012-02-06 04:02 alex Relationship added related to 0001201
2011-10-22 05:41 alex Estimate Points => 2
2011-08-10 05:03 alex Relationship added related to 0001095
2011-07-13 06:42 alex Note Added: 0003631
2011-07-13 06:42 alex Status reviewed and tested => resolved
2011-07-13 06:42 alex Fixed in Version => 5.2.0-B1
2011-07-13 06:42 alex Resolution open => fixed
2011-07-13 06:42 alex Assigned To !COMMUNITY => alex
2011-07-13 06:42 alex Changeset attached 5.2.x r14472
2011-07-13 06:41 alex Changeset attached 1.2.x r14471
2011-07-13 06:41 alex Note Added: 0003630
2011-07-13 06:41 alex Status needs testing => reviewed and tested
2011-07-13 06:40 alex Assigned To => !COMMUNITY
2011-07-13 06:40 alex Developer => alex
2011-07-13 06:40 alex Status active => needs testing
2011-07-13 06:40 alex File Added: forgot_password_imporvements_themes.patch
2011-07-13 06:40 alex File Added: forgot_password_imporvements_core.patch
2011-07-13 06:39 alex Note Added: 0003629
2011-07-12 08:06 alex Relationship added parent of 0001044
2011-07-08 10:57 alex Target Version Icebox => 5.2.0
2010-12-13 12:45 alex Description Updated View Revisions
2010-12-13 12:42 alex Description Updated View Revisions
2010-12-13 10:32 Dmitry New Issue
2010-12-13 10:32 Dmitry Reference => https://groups.google.com/d/topic/in-portal-dev/lfqeAuXWWko/discussion
2010-12-13 10:32 Dmitry Change Log Message => Improved "Forgot Password" logic



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker