Commit 0186d588 authored by Martin Straka's avatar Martin Straka
Browse files

Fixed remember of new password

parent edffd30b
......@@ -135,7 +135,7 @@ bool IsdsWrapper::changePassword(const QString &userName, const QString &oldPwd,
emit statusBarTextChanged(isdsText, false, true);
/* Set new password to current isds context and reset OTP*/
m_isdsSession.isdsCtxMap[userName].password = userName;
m_isdsSession.isdsCtxMap[userName].password = newPwd;
if (m_isdsSession.isdsCtxMap[userName].login_method == USERNAME_PWD_TOTP ||
m_isdsSession.isdsCtxMap[userName].login_method == USERNAME_PWD_HOTP) {
Supports Markdown
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