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!

Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000227 [In-Portal CMS] Front End feature request N/A 2009-08-14 01:06 2012-03-19 03:55
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000227: Password required mark logic change
Description Currently Password and VerifyPassword fields are not marked as required. This results in missing asterisk ("*" - required mark) on new user add form (in administrative console and on front-end). Then when value is set to the field, kPasswordFormatter class makes them required for new users. This gives us another problem - inability to dynamically make password non-required for new users.

I propose to remove "making required" code from kPasswordFormatter class and do the following:

1. in u:OnPreCreate (for administrative console) and in u:OnNew (for front-end) events do $object->setRequired for both password fields - helps to initially show "*" on user registration form;
2. in u:OnBeforeItemCreate do the same - to make passwords required when user is saved to database.

This way it will be highly customizable and more transparent logic to the naked eye.

Additional Information

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

Powered by Mantis Bugtracker