mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MT - fix up references to empty/default domain
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -864,7 +864,7 @@ public class CreateUserWizard extends BaseWizardBean
|
|||||||
protected void checkTenantUserName()
|
protected void checkTenantUserName()
|
||||||
{
|
{
|
||||||
String currentDomain = tenantService.getCurrentUserDomain();
|
String currentDomain = tenantService.getCurrentUserDomain();
|
||||||
if (currentDomain != null)
|
if (! currentDomain.equals(TenantService.DEFAULT_DOMAIN))
|
||||||
{
|
{
|
||||||
if (! tenantService.isTenantUser(this.userName))
|
if (! tenantService.isTenantUser(this.userName))
|
||||||
{
|
{
|
||||||
|
@@ -492,7 +492,7 @@ public class NewUserWizard extends AbstractWizardBean
|
|||||||
if (tenantService.isEnabled())
|
if (tenantService.isEnabled())
|
||||||
{
|
{
|
||||||
String currentDomain = tenantService.getCurrentUserDomain();
|
String currentDomain = tenantService.getCurrentUserDomain();
|
||||||
if (currentDomain != null)
|
if (! currentDomain.equals(TenantService.DEFAULT_DOMAIN))
|
||||||
{
|
{
|
||||||
if (! tenantService.isTenantUser(this.userName))
|
if (! tenantService.isTenantUser(this.userName))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user