Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nk20-scripts
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDE
nk20-scripts
Commits
2a8dc40a
Commit
2a8dc40a
authored
4 years ago
by
Pierre-antoine Comby
Browse files
Options
Downloads
Patches
Plain Diff
delete password of deleted account
parent
d6e9097d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
management/commands/import_nk15.py
+1
-1
1 addition, 1 deletion
management/commands/import_nk15.py
with
1 addition
and
1 deletion
management/commands/import_nk15.py
+
1
−
1
View file @
2a8dc40a
...
...
@@ -66,7 +66,7 @@ def import_comptes(cur):
update_line
(
idx
,
n
,
row
[
"
pseudo
"
])
if
row
[
"
type
"
]
==
"
personne
"
:
# sanitize password
if
row
[
"
passwd
"
]
!=
"
*|*
"
:
if
row
[
"
passwd
"
]
!=
"
*|*
"
and
not
row
[
"
deleted
"
]
:
passwd_nk15
=
"
$
"
.
join
([
"
custom_nk15
"
,
"
1
"
,
row
[
"
passwd
"
]])
else
:
passwd_nk15
=
''
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment