Re: [psa-devel]Password Reset
Brought to you by:
koivi
From: Justin K. <ju...@ko...> - 2003-03-26 13:51:55
|
Albert Lash wrote: > I'm also going to include the email registration part for account > verification, user registers, system sends email, user clicks on link in > email -> account is verified. There should be some settings for whether the > admin will require this as well as the password question and answer. I'll > add these to the settings section interface and the settings part of the db, > as well as the schema. This sound alright. Implement it as a separate class method. Then in the addUser method, we can add a flag that when true will send out the verification. We can have the flag set in the config file for easy access. The reson behind this is that there are times when the user isn't requesting the account, so you'd want to leave control to the admin. This is the way that I use PSA mostly for CMS programming where I choose who can have an account, and whether it is active or not. I'm sure that I can't be the only one to do it this way. > This increases the complexity of it, but I won't add anything else until all > these issues are fully implemented. So right now, the development is focused on password recovery and account verification methods. Now all I need to do is get some more time to actually look into what you have got going on. When you have working (or nearly working) code, let me know and I will try to find time to look it over and be sure that everything is fitting into the class and GUI as expected. Also, one other note on coding. Don't use the orphan brackets like: if ($condition) { // code } Use the old C style like: if($condition){ // code } I can't stand the other mehtod for some reason. |