mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
Minor fix.
This commit is contained in:
parent
a1199687d4
commit
011acba666
@ -70,7 +70,7 @@ public class MindmapServiceImpl
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean isAdmin(User user) {
|
private boolean isAdmin(User user) {
|
||||||
return (user != null && user.getEmail().equals(adminUser));
|
return user != null && user.getEmail() != null && user.getEmail().equals(adminUser);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -292,7 +292,8 @@ public class MindmapServiceImpl
|
|||||||
this.adminUser = adminUser;
|
this.adminUser = adminUser;
|
||||||
}
|
}
|
||||||
|
|
||||||
@NotNull public String getAdminUser() {
|
@NotNull
|
||||||
|
public String getAdminUser() {
|
||||||
return adminUser;
|
return adminUser;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user