Skip to content

Commit

Permalink
disable 2fa for in selenium test users
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrenn committed Mar 7, 2024
1 parent b786a1e commit 205cc4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ private UserOutVO createUser(String name, String password, long departmentId, St
newUser.setDepartmentId(departmentId);
newUser.setName(name);
newPassword.setPassword(password);
newPassword.setEnable2fa(false);
return getTestDataProvider().createUser(newUser, newPassword, departmentPassword, new ArrayList<PermissionProfile>() {

{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ private UserOutVO createUser(String name, String password, long departmentId, St
newUser.setDepartmentId(departmentId);
newUser.setName(name);
newPassword.setPassword(password);
newPassword.setEnable2fa(false);
return getTestDataProvider().createUser(newUser, newPassword, departmentPassword, new ArrayList<PermissionProfile>() {

{
Expand Down

0 comments on commit 205cc4b

Please sign in to comment.