equal
deleted
inserted
replaced
245 // we first check the black list, don't bother the user with |
245 // we first check the black list, don't bother the user with |
246 // queries if the realm is in black list |
246 // queries if the realm is in black list |
247 if (!m_passwdDB->saveAllowed(realm)) |
247 if (!m_passwdDB->saveAllowed(realm)) |
248 ignorefield = true; |
248 ignorefield = true; |
249 |
249 |
|
250 // check if username, password value is missing |
|
251 if(!passwd->value() || !input->value()) |
|
252 ignorefield = true; |
|
253 |
250 // if login info is already saved, don't save again |
254 // if login info is already saved, don't save again |
251 if (!ignorefield && m_passwdDB->contains(realm, input->name(), input->value(), passwd->name(), passwd->value())) { |
255 if (!ignorefield && m_passwdDB->contains(realm, input->name(), input->value(), passwd->name(), passwd->value())) { |
252 ignorefield = true; |
256 ignorefield = true; |
253 onePasswdSaved = true; |
257 onePasswdSaved = true; |
254 } |
258 } |