| 52 if (!strlen(user->password) && !(p->options & OPT_PROTO_NO_PASSWORD)) { |
52 if (!strlen(user->password) && !(p->options & OPT_PROTO_NO_PASSWORD)) { |
| 53 do_error_dialog(_("Please enter your password"), _("Signon Error")); |
53 do_error_dialog(_("Please enter your password"), _("Signon Error")); |
| 54 return; |
54 return; |
| 55 } |
55 } |
| 56 |
56 |
| 57 debug_printf("Logging in using %s\n", p->name()); |
57 debug_printf(PACKAGE " " VERSION " logging in %s using %s\n", user->username, p->name()); |
| 58 p->login(user); |
58 p->login(user); |
| 59 } else { |
59 } else { |
| 60 do_error_dialog(_("You cannot log this account in; you do not have " |
60 do_error_dialog(_("You cannot log this account in; you do not have " |
| 61 "the protocol it uses loaded, or the protocol does " |
61 "the protocol it uses loaded, or the protocol does " |
| 62 "not have a login function."), _("Login Error")); |
62 "not have a login function."), _("Login Error")); |