Fix validation

This commit is contained in:
vshcherb 2014-05-29 02:26:48 +02:00
parent b24b6a6add
commit 3e42fbbdf4

View file

@ -168,7 +168,7 @@ public class OsMoService implements OsMoReactor {
public String getRegisteredUserName() {
SessionInfo si = getCurrentSessionInfo();
if(si != null) {
if(si != null && si.username != null && si.username.length() > 0) {
return si.username;
}
return null;