Subversion Repositories wimsdev

Rev

Rev 5143 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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