send default user type back to client

This commit is contained in:
Sebastian Sdorra
2012-03-16 14:09:36 +01:00
parent 9b5b1a26c6
commit fa4fe33082
6 changed files with 63 additions and 7 deletions

View File

@@ -190,7 +190,7 @@ Sonia.scm.Main = Ext.extend(Ext.util.Observable, {
var securitySection = null;
if ( state.user.type == 'xml' && state.user.name != 'anonymous' ){
if ( state.user.type == state.defaultUserType && state.user.name != 'anonymous' ){
securitySection = {
title: this.sectionSecurityText,
links: [{