Rev 14336 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !if $wims_ismanager>1 |
15697 | bpr | 2 | !exit |
20 | reyssat | 3 | !endif |
4 | auth=!record 0 of wimshome/$wims_sesdir/auth.supervisor |
||
5 | auth=!trim $auth |
||
6 | !if $auth!=yes |
||
12555 | bpr | 7 | sec=!defof class_secure in wimshome/log/classes/$wims_class/.def |
8 | sec=!trim $sec |
||
9 | htest=!checkhost $sec |
||
10 | !if $wims_sup_secure<0 or ($sec!=$empty and $htest<1) or\ |
||
14336 | bpr | 11 | ($sec=$empty and $auth=no) |
12555 | bpr | 12 | error=not_secure |
13 | !exit |
||
20 | reyssat | 14 | !endif |
12555 | bpr | 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 |
||
13318 | obado | 20 | !! and so one can not enter in the portal gestion by mail send (need word all or an IP) |
12555 | bpr | 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 |
||
31 | error=not_secure |
||
32 | !exit |
||
33 | !endif |
||
34 | !if $auth=$empty |
||
35 | !exit |
||
36 | !endif |
||
20 | reyssat | 37 | !endif |
38 | !endif |