Added some validation for the Customer mode. Changed Auth to return the value of $UserData{UserType} instead of 'Agent' or 'Customer' when retrieving the data from the SessionID.
Added some validation for the Customer mode.
Changed Auth to return the value of $UserData{UserType} instead of 'Agent' or 'Customer' when retrieving the data from the SessionID.

crythias/otrs,brandonshults01/otrs,PortgasDAce/otrs,nilei/otrs,capeit-tto/otrs,PortgasDAce/otrs,StCyr/otrs,s7design/otrs,s7design/otrs,StCyr/otrs,xhoy/otrs,balazj/otrs,MBRG/otrs,oiami/otrs,PortgasDAce/otrs,oiami/otrs,nilei/otrs,rudy500/otrs,noritnk/otrs,vlascoder/otrs,s7design/otrs,rudy500/otrs,thorsteneckel/otrs,s7design/otrs,thorsteneckel/otrs,crythias/otrs,MBRG/otrs,xhoy/otrs,moritz/otrs,noritnk/otrs,muehlbauer/otrs,eliasp/otrs,PortgasDAce/otrs,linearregression/otrs,s7design/otrs,linearregression/otrs,mbeijen/otrs-1,muehlbauer/otrs,rudy500/otrs,noritnk/otrs,balazj/otrs,rudy500/otrs,mburggraf/otrs,eliasp/otrs,MBRG/otrs,xhoy/otrs,thorsteneckel/otrs,StCyr/otrs,MBRG/otrs,moritz/otrs,vlascoder/otrs,brandonshults01/otrs,moritz/otrs,brandonshults01/otrs,brandonshults01/otrs,linearregression/otrs,mburggraf/otrs,PortgasDAce/otrs,balazj/otrs,crythias/otrs,muehlbauer/otrs,moritz/otrs,linearregression/otrs,mburggraf/otrs,muehlbauer/otrs,linearregression/otrs,StCyr/otrs,oiami/otrs,xhoy/otrs,eliasp/otrs,thorsteneckel/otrs,oiami/otrs,mburggraf/otrs,mbeijen/otrs-1,mbeijen/otrs-1,vlascoder/otrs,brandonshults01/otrs,capeit-tto/otrs,rudy500/otrs,oiami/otrs,capeit-tto/otrs,crythias/otrs,mburggraf/otrs,crythias/otrs,eliasp/otrs,StCyr/otrs,balazj/otrs,xhoy/otrs,thorsteneckel/otrs,eliasp/otrs,muehlbauer/otrs,nilei/otrs,nilei/otrs,balazj/otrs,MBRG/otrs,moritz/otrs,nilei/otrs