pidgin/gtkconn.c

changeset 26053
0a73ef6da93e
parent 24579
b3bd4d2a1542
child 26062
4de831b8cdcb
equal deleted inserted replaced
26052:0d546c8c54aa 26053:0a73ef6da93e
161 } else { 161 } else {
162 if (info != NULL) 162 if (info != NULL)
163 g_hash_table_remove(auto_reconns, account); 163 g_hash_table_remove(auto_reconns, account);
164 164
165 purple_account_set_enabled(account, PIDGIN_UI, FALSE); 165 purple_account_set_enabled(account, PIDGIN_UI, FALSE);
166
167 /* clear the saved password if this is an authentication failure */
168 if(reason == PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED)
169 purple_account_set_password(account, NULL);
170
166 } 171 }
167 172
168 /* If we have any open chats, we probably want to rejoin when we get back online. */ 173 /* If we have any open chats, we probably want to rejoin when we get back online. */
169 list = purple_get_chats(); 174 list = purple_get_chats();
170 while (list) { 175 while (list) {

mercurial