From: Chris Vigelius <chris.vigelius@gm...> - 2005-11-01 14:02:17
can anyone explain why the handling of user creation, password changing etc.
exists in both users.pl and login.pl? Is there a specific reason to have all
these templates, messages etc. twice?
For example, there are two templates to create a new user:
(the same applies to changePasswd, and there are also some duplicate messages
in data;login;default and errors;user;default)
It appears to me that in a fresh install from CVS (and also on /. itself), the
login/account handling is done via login.pl, and users.pl only kicks in after
a user is already created and logged in (e.g. to configure preferences).
Are the templates loginForm;users;default and changePasswd;users;default in
use at all?
> can anyone explain why the handling of user creation, password changing etc.
> exists in both users.pl and login.pl?
Because it was originally in users.pl and then was moved to login.pl for
various reasons (mostly security, also simplicity).
> Is there a specific reason to have all these templates, messages etc. twice?
We haven't checked through the code and looked for the possibility of
links to the users.pl functionality (or considered what old URLs
pointing to that functionality may still need to work). In fact I think
we just found some old code incorrectly pointing to users.pl login code
the other day.
We won't be removing the duplicate functionality until we make those
They're not hurting anything.