Closed (fixed)
Project:
Drupal core
Version:
4.5.0
Component:
user.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Jan 2004 at 03:16 UTC
Updated:
16 Jan 2007 at 04:58 UTC
Jump to comment: Most recent file
Comments
Comment #1
flevour commentedSubmitting cvs version patch for the issue.
We could also change the Admin Approval Procedure.
The actual procedure is:
I suggest instead:
I think this would be improve user experience at the expense of 1 mail more than the actual procedure.
Cheers,
Comment #2
flevour commentedI realized I created the patch not being in the root dir. Here is the fixed version.
Comment #3
flevour commentedDuring night I have thought about a better approach for this patch. I put the the "$user->status" check at the beginning, and I have added a check for error in the main "else if", in which all user/pass checks are done.
This brings to an improvement, because in case the user is either denied access or not yet approved, all user/pass check will be skipped.
This patch assumes the previous patches for this topic were not applied.
Hoping this patch floods gets here to an end,
Comment #4
flevour commentedShame on me. This is one of my first collaborations with drupal-dev, and it seems that I am bringing more mess instead of fixing bugs.
My fault is I didn't test my patch enough before sending it over. I tested it only within a specific case, but I later found out that the error would come out anyway, for any anonymous user.
This patch includes:
- improved message for accounts pending approval
- improved main "else if" with a check for $error (it avoids pass checks if user has been denied access)
Please forgive my behaviour, I hope I wont fall in these errors again.
Comment #5
snorefest commentedApplied the changes successfully. Thank you! Let's hope it will be built into Drupal's core...
Comment #6
TDobes commentedHaven't tried the patch personally, but seems like a good idea. Reclassifying so the patch gets considered.
Comment #7
killes@www.drop.org commentedDoesn't apply anymore.
Comment #8
alexandreracine commentedThis is old, so...
This was for version x.y.z.
Closing. Feel free to reopen.