ensuring that lemur's default user has a valid email (#765)
This commit is contained in:
parent
ca9f120988
commit
75787d20bc
|
@ -222,7 +222,7 @@ class InitializeApp(Command):
|
||||||
sys.stderr.write("[!] Passwords do not match!\n")
|
sys.stderr.write("[!] Passwords do not match!\n")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
user_service.create("lemur", password, 'lemur@nobody', True, None, [admin_role])
|
user_service.create("lemur", password, 'lemur@nobody.com', True, None, [admin_role])
|
||||||
sys.stdout.write("[+] Created the user 'lemur' and granted it the 'admin' role!\n")
|
sys.stdout.write("[+] Created the user 'lemur' and granted it the 'admin' role!\n")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue