Verified Commit e7c2b601 authored by Benjamin "Ziirish" SANS's avatar Benjamin "Ziirish" SANS
Browse files

fix CLI according to recent AUTH backend rename

parent 0b1cd503
......@@ -165,6 +165,10 @@ def create_user(backend, password, ask, verbose, name):
except Exception as e:
msg = str(e)
if not backend.endswith(':AUTH'):
backend = f'{backend}:AUTH'
backend = backend.upper()
if msg:
_die(msg, 'create_user')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment