Subversion Repositories wimsdev

Rev

Rev 5646 | Rev 13318 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5646 Rev 12555
Line 2... Line 2...
2
 !exit
2
 !exit
3
!endif
3
!endif
4
auth=!record 0 of wimshome/$wims_sesdir/auth.supervisor
4
auth=!record 0 of wimshome/$wims_sesdir/auth.supervisor
5
auth=!trim $auth
5
auth=!trim $auth
6
!if $auth!=yes
6
!if $auth!=yes
7
 sec=!defof class_secure in wimshome/log/classes/$wims_class/.def
7
  sec=!defof class_secure in wimshome/log/classes/$wims_class/.def
8
 sec=!trim $sec
8
  sec=!trim $sec
9
 htest=!checkhost $sec
9
  htest=!checkhost $sec
10
 !if $wims_sup_secure<0 or ($sec!=$empty and $htest<1) or\
10
  !if $wims_sup_secure<0 or ($sec!=$empty and $htest<1) or\
11
	($sec=$empty and $auth=no)
11
	 ($sec=$empty and $auth=no)
12
  error=not_secure
12
    error=not_secure
13
  !exit
13
    !exit
14
 !endif
-
 
15
 !if $sec=$empty and $auth=$empty
-
 
16
  jobt=auth
-
 
17
!!!!!!
-
 
18
!!##FIXME auth.proc was in the module (class/config)
-
 
19
!! the present file is also used in public_html/modules/adm/class/gateway/var.proc
-
 
20
!! and so one can not enter in the portail gestion by mail send (need word all or an IP)
-
 
21
!! but some other files should also be moved :
-
 
22
!! class/config/scripts/mail.phtml
-
 
23
!! class/config/lang/mail.phtml.$lang
-
 
24
!! to do after the release.
-
 
25
!!!!!!
-
 
26
  !read auth.proc
-
 
27
  !if $auth=yes
-
 
28
   jobt=list
-
 
29
  !endif
14
  !endif
-
 
15
  !if $sec=$empty and $auth=$empty
-
 
16
    jobt=auth
-
 
17
    !!!!!!
-
 
18
    !!##FIXME auth.proc was in the module (class/config)
-
 
19
    !! the present file is also used in public_html/modules/adm/class/gateway/var.proc
-
 
20
    !! and so one can not enter in the portail gestion by mail send (need word all or an IP)
-
 
21
    !! but some other files should also be moved :
-
 
22
    !! class/config/scripts/mail.phtml
-
 
23
    !! class/config/lang/mail.phtml.$lang
-
 
24
    !! to do after the release.
-
 
25
    !!!!!!
-
 
26
    !read auth.proc
-
 
27
    !if $auth=yes
-
 
28
      jobt=list
-
 
29
    !endif
30
  !if $auth=no
30
    !if $auth=no
31
   error=not_secure
31
      error=not_secure
-
 
32
      !exit
-
 
33
    !endif
-
 
34
    !if $auth=$empty
32
   !exit
35
      !exit
-
 
36
    !endif
33
  !endif
37
  !endif
34
  !if $auth=$empty
-
 
35
   !exit
-
 
36
  !endif
-
 
37
 !endif
-
 
38
!endif
38
!endif