-
- Downloads
A large set of authorization changes.
* Cleanup! A lot of the structure derived from the early frame days, which had a noticable (and bad) effect on how I wrote the stuff. I cleaned up most of that yuckyness. * In process, optimize a little bit on the queries. The old code did about 9 queries just to write out the menu options, and then repeated most of those queries again in the page guts. I've consolidated the queries as much as possible (to 3) and cache all the results. * Fix up problem with users who forget their passwords before verification. Basically, I fixed the more general problem of not being able to update your user info before verification/approval; users now get that menu option no matter their status. * Fix up problem of users being able to access pages before verification (but after approval) by going around the menu options. The page level check (after the menu is drawn) now checks all conditions (password expired, unverified, unapproved, timedout, and also nologins()). * Minor change in approveuser; do not show the new account to the project leader until the new user has verified his account. * Change verification method, as reqwuested by Dave. In addition to providing the key, also provide a web link to take the user straight to verification. I actually take them direct to the login page, and pass the key in as an argument. If the user is already logged in, bypass and go directly to the verify page (not the form page of course). If the user is not logged in, let him log in, and then forward the key onward to the verify page. Basically, bypass the form all the time, and just do the verification. * Minor change in showuser; Do not show pid/groups not approved in, and if the count is zero, do not draw the table headings.
Showing
- www/approveuser_form.php3 3 additions, 1 deletionwww/approveuser_form.php3
- www/dbdefs.php3.in 14 additions, 5 deletionswww/dbdefs.php3.in
- www/defs.php3.in 0 additions, 20 deletionswww/defs.php3.in
- www/joinproject.php3 23 additions, 22 deletionswww/joinproject.php3
- www/login.php3 62 additions, 10 deletionswww/login.php3
- www/menu.php3 111 additions, 206 deletionswww/menu.php3
- www/moduserinfo.php3 1 addition, 1 deletionwww/moduserinfo.php3
- www/newproject.php3 21 additions, 20 deletionswww/newproject.php3
- www/showstuff.php3 4 additions, 1 deletionwww/showstuff.php3
- www/showuser.php3 5 additions, 3 deletionswww/showuser.php3
- www/start.php3 3 additions, 3 deletionswww/start.php3
- www/tbauth.php3 221 additions, 154 deletionswww/tbauth.php3
- www/verifyusr.php3 27 additions, 19 deletionswww/verifyusr.php3
- www/verifyusr_form.php3 1 addition, 1 deletionwww/verifyusr_form.php3
Loading
Please register or sign in to comment