Rev 5143 | Details | Compare with Previous | 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 |
||
12555 | bpr | 7 | # to register to subclasses/and so. |
5143 | czzmrn | 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 |
||
12555 | bpr | 15 | auth_test=OK |
5143 | czzmrn | 16 | !endif |
17 | auth_user_orig=$auth_user |
||
18 | auth_error=$wims_exec_error |
||
19 | wims_exec_error= |