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
norstbox
gajim
Commits
23109aac
Commit
23109aac
authored
Sep 20, 2006
by
Yann Leboulanger
Browse files
create account with password even if we don't save it. Fixes #2433
parent
1ed3a31f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.py
View file @
23109aac
...
...
@@ -2923,9 +2923,6 @@ _('You can set advanced account options by pressing Advanced button, or later by
con
=
connection
.
Connection
(
self
.
account
)
con
.
password
=
password
if
not
savepass
:
password
=
""
config
=
{}
config
[
'name'
]
=
login
config
[
'hostname'
]
=
server
...
...
@@ -2954,6 +2951,10 @@ _('You can set advanced account options by pressing Advanced button, or later by
def
create_vars
(
self
,
config
):
gajim
.
config
.
add_per
(
'accounts'
,
self
.
account
)
if
not
config
[
'savepass'
]:
config
[
'password'
]
=
''
for
opt
in
config
:
gajim
.
config
.
set_per
(
'accounts'
,
self
.
account
,
opt
,
config
[
opt
])
...
...
Write
Preview
Markdown
is supported
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