Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nounous-archives
CransTicket
Commits
069ab9cc
Commit
069ab9cc
authored
Sep 20, 2014
by
Daniel STAN
Browse files
reset_pass: c'est mieux de save() à la fin
parent
6173bc8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
client.py
View file @
069ab9cc
...
...
@@ -51,6 +51,7 @@ class Ticket(object):
try
:
value
=
gen_password
()
adh
[
'userPassword'
]
=
[
crans_utils
.
hash_password
(
value
).
decode
(
'ascii'
)]
adh
.
save
()
except
EnvironmentError
:
print
(
"Impossible de changer le mot de passe de %s"
%
login
)
exit
(
2
)
...
...
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