Commit graph

16 commits

Author SHA1 Message Date
Loui Chang
c404c278cc Revert "Several functions added to web/lib/acctfuncs.inc"
This has a couple of bugs I just discovered arrgh. We shall return
This reverts commit 5e7e9f1b21d8803c718ac8551f8e0e25709fcd6f.
2008-01-19 23:47:45 -06:00
Loui Chang
6b3e902851 Several functions added to web/lib/acctfuncs.inc
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

Also:	Enforce proper usernames on account creation
	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

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19 23:47:03 -06:00
Loui Chang
8f7fb2b1cb search_accounts_form() output is put into a template
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19 23:46:55 -06:00
pjmattal
452d6b1245 patch from eliott to convert all <? to <?php 2007-09-20 21:46:43 +00:00
swiergot
0b92839bee - Applied a patch from Loui to fix session removal.
- Replaced all occurences of mysql_escape_string()
  with mysql_real_escape_string().
2007-09-20 15:33:04 +00:00
simo
1418738f60 link user search to user packages 2005-11-13 20:11:56 +00:00
simo
6fe2f0e14b Added link to user's packages in profile 2005-10-17 01:24:16 +00:00
pjmattal
c7e4f5c7fa Added Simo's patch for #2579, adding user info page
also modified it slightly so that we no longer look at AURMaintainerUID for maintainer
2005-06-10 04:52:46 +00:00
pjmattal
42c20c3955 fixed bug 2263 2005-02-25 18:43:19 +00:00
eric
a54ca6bfaf started working on package delete support 2005-01-25 22:52:32 +00:00
jchu
28e23308d4 added hashed passwords 2005-01-21 14:50:25 +00:00
eric
6249c40e94 fleshing out the package logic, renamed pkg include files for consistency 2004-06-29 00:56:31 +00:00
eric
1f62f86af5 getting closer to printing package search results - also fixed some XHTML stuff 2004-06-24 19:08:35 +00:00
eric
9c6ec26c32 started working on the pkgsearch 2004-06-24 00:34:20 +00:00
eric
84912ddb2e account adding/editing is working 2004-06-23 00:28:13 +00:00
eric
64db123697 pulled out account functions into separate include file 2004-06-22 14:26:54 +00:00