Closed (works as designed)
Project:
SMTP Authentication Support
Version:
7.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2010 at 18:01 UTC
Updated:
26 Apr 2014 at 18:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
franzWhat actually happens is that when you submit the password field empty, it doesn't change the password. This was because there was an issue about displaying the password in the field, so it is a one-way field, it has that behaviour.
For testing and workaround, could you comment line 241 and submit the values. If the connection work with both variables set to empty strings, we could have a checkbox for not using auth values.
Comment #2
alauddin commentedSame issue....I dont require smtp user/pass but the module keepa adding 'admin' & some password?
I tried your suggestion to uncomment line 241
unset($form_state['values']['smtp_password']);
but the admin/password stays.
I even tried removing the whole if statement line 240 - 242
if (empty($form_state['values']['smtp_password'])) {
unset($form_state['values']['smtp_password']);
}
Comment #3
franzI think we need the checkbox option, which is, I think, the most appropriate solution.
Comment #4
franzBefore changing the interface, I changed the code so that if the username is empty, both fields should be set to empty. I haven't test it on my machine, could you please do it and report if successful?
Comment #5
cjback commentedI installed the patch. Tried saving with the username blank, both username/password blank and password blank but the fields would not clear.
Comment #6
franzcjback, of course! The patch is dumb!
Now, this was a long time ago, I'll go check
Comment #7
franzSorry, but I tested it and got it working, at least it sets both variables to empty string.
Re-rolled patch to latest dev
Comment #8
rainbowarrayThis error appears in the 7.x version as well.
Comment #9
josesanmartin commentedCommited to 6.x. Moving ticket to 7.x so that it gets commited there as well.
Comment #10
josesanmartin commentedComment #11
franzCommitted to D7
Also removing "blog-like" tags... (http://drupal.org/node/1023102)
Comment #13
zopa commentedi'm re-opening because i'm running SMTP Authentication Support 7.x-1.0 and this issue of SMTP authentication fields not staying blank seems to still be persisting -- did the fix in 7.x-1.0-beta2 (http://drupal.org/node/1791794) get ported over to this recent 2/17/2013 release?
Comment #14
zopa commentedComment #15
dwrooke commentedI've just installed the 7.x-1.0-dev module and am seeing that the username and password fields will not clear. Can you advise what I should do please?
Comment #16
Anjaro commentedAny word on this ?
Comment #17
pmoz commentedLooking for this answer as well.
Comment #18
rv0 commentedPerhaps this is an OS related issue? I have the issue both in Safari & Chrome on OSX, but not in Firefox and Opera
Comment #19
wundo commentedMarking this as fixed, please open a new issue if you encounter any problem.
Comment #20
Talkless commentedI have same problem in drupal 7.27. I cannot clear SMTP username and password.