Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Datovka projects
mobile Datovka
Commits
0186d588
Commit
0186d588
authored
Jun 16, 2017
by
Martin Straka
Browse files
Fixed remember of new password
parent
edffd30b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/net/isds_wrapper.cpp
View file @
0186d588
...
...
@@ -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
)
{
m_isdsSession
.
isdsCtxMap
[
userName
].
pass_phrase
.
clear
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment