]> git.ipfire.org Git - ipfire.org.git/commit - src/backend/accounts.py
accounts: Do not fail when an account has already been created
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Oct 2019 16:00:36 +0000 (17:00 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Oct 2019 16:00:36 +0000 (17:00 +0100)
commitcd5c84529ee3c52aebce0974b061c739d8dae477
tree4c8449971996bc8116731930ba8e57a4d4f02ade
parent642d06dbe2449abd6377cab15542680be5401279
accounts: Do not fail when an account has already been created

When people choose a password that is too weak, the account might
already have been created and a second attempt will fail.

This prevents that.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/accounts.py