Subversion Repositories wimsdev

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5143 czzmrn 1
# Input variables: authdef=def file  / superclass
2
# Parameters: NOTHING
3
# Output : auth_test,auth_error
4
 
5
# with auth_method=php we need to check we are in an authenticated session created
6
# via the adm/raw module (we need this auth-php in groupement and portals in order
7
# to register to subclasses/and so. 
8
 
9
# FIXME: which checks need to be carried out? we check $wims_user is defined, but
10
#        need to verify this is enough
11
 
12
auth_test=ERROR
13
 
14
!if $wims_user!=$empty
15
auth_test=OK
16
!endif
17
auth_user_orig=$auth_user
18
auth_error=$wims_exec_error
19
wims_exec_error=