No need to set password on scenario user
The new constraint on user password prevents to use login as password.
This commit is contained in:
1 parent
2b8e8c70e5
commit
b4419276f4
1 file changed
-1
@@ -34,7 +34,6 @@ Create an accountant user::
|
||||
>>> accountant = User()
|
||||
>>> accountant.name = 'Accountant'
|
||||
>>> accountant.login = 'accountant'
|
||||
>>> accountant.password = 'accountant'
|
||||
>>> account_group, = Group.find([('name', '=', 'Account')])
|
||||
>>> accountant.groups.append(account_group)
|
||||
>>> accountant.save()
|
||||
|
||||
Reference in new issue
Block a user