I attempted to add more than one user in a profile, but any users added after the first are denied access, even though they appear to be the same in the database. So my setup looks like this:

	// USER
	$roles1[$sub_admin_rid] = 'role1';
	$roles2[$administrative_rid] = 'role2';
	install_add_user('user1', 'xxxx', 'user1@email.com', $roles1);
	install_add_user('user2', 'xxxx', 'user2@email.com', $roles2);

But, only user1 has access, the other is denied. I tried requesting a new password for user2, but no luck there either. Can you reproduce this issue?

Comments

sime’s picture

working for me, maybe you need to set TRUE in the 5th parameter for status.

boris mann’s picture

No more info, closing for now.

boris mann’s picture

Status: Active » Closed (fixed)

And closing now...