From e2dea39e5b7c154300f6ce75a68eb888e4676311 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Tue, 29 Sep 2020 08:55:32 -0400 Subject: [PATCH] Advance the x-ordered counter --- setup/migration_13.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/migration_13.py b/setup/migration_13.py index 0c42e7d2..29c76352 100644 --- a/setup/migration_13.py +++ b/setup/migration_13.py @@ -129,6 +129,7 @@ def create_users(env, conn, ldapconn, ldap_base, ldap_users_base, ldap_domains_b totp["secret"].append("{%s}%s" % (rowidx, row2[0])) totp["mru_token"].append("{%s}%s" % (rowidx, row2[1] or '')) totp["label"].append("{%s}%s" % (rowidx, row2[2] or '')) + rowidx += 1 dn = add_user(env, ldapconn, ldap_base, ldap_users_base, ldap_domains_base, email, password, privs.split("\n"), totp) users[email] = dn