Fix validation
This commit is contained in:
parent
b24b6a6add
commit
3e42fbbdf4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue