aurweb/web/lib
Loui Chang e9de45954a Several functions added to web/lib/acctfuncs.inc Weeere back!
try_login() to login users

valid_username() checks if a new username fits criteria

valid_user() checks if the user exists in the database

good_passwd() only checks for minimum password length for now.
can be later expanded to tell a user to make a stronger password.

valid_passwd() checks if the password for the specified user is correct

user_suspended() checks if the user is suspended (or not)

user_delete() deletes a user (it doesn't orphan PKGs yet though)

user_is_privileged() returns privilege level User (0) TU (2) Dev (3) of
user ID. 0 is used for a regular user for ease in conditionals.

Also:	Enforce proper usernames on account creation or editing
	Fix bug where $SUPPORTED_LANGS needs to be reset on account creation
	Fix bug where an account could be created with an empty passwd
	Display (required) beside password fields on account creation
	Enforce good_passwd() on account creation

	TUs and Devs can edit a user to have a username that doesn't conform to
	the standard valid_username(). This is to allow them to edit old
	accounts without messing up the user name.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19 23:49:35 -06:00
..
acctfuncs.inc Several functions added to web/lib/acctfuncs.inc Weeere back! 2008-01-19 23:49:35 -06:00
aur.inc Added header, footer, and login form templates 2008-01-19 23:45:07 -06:00
config.inc.proto Tweak to version strings patch. 2007-10-02 07:33:53 -04:00
feedcreator.class.php RSS support implemented 2005-06-10 23:07:24 +00:00
pkgfuncs.inc Make "Out of Date" pkgs more NOTICABLE. 2008-01-19 23:49:10 -06:00
translator.inc patch from eliott to convert all <? to <?php 2007-09-20 21:46:43 +00:00
version.inc Changed version to 1.4.1. 2007-10-11 09:36:08 -04:00