Commit 17194b15 authored by Lefebvre, Jordan's avatar Lefebvre, Jordan

#2. Captured failed password attempt in authenticateWithPassword.

parent 27de0ad0
......@@ -207,7 +207,7 @@ void SessionWorker::authenticateWithPassword(QString pswd)
{
radix_tagged_line("Authenticate with password.");
SessionAuthState state = p->session->authenticateWithPassword(pswd);
if (state == SessionAuthState::ERROR)
if (state == SessionAuthState::ERROR || state == SessionAuthState::DENIED)
{
QString message = p->session->getError();
emit authenticationError(message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment