Rev 5404 | Rev 12555 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !if $wims_ismanager>1 |
2 | !exit |
||
3 | !endif |
||
4 | auth=!record 0 of wimshome/$wims_sesdir/auth.supervisor |
||
5 | auth=!trim $auth |
||
6 | !if $auth!=yes |
||
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\ |
||
11 | ($sec=$empty and $auth=no) |
||
12 | error=not_secure |
||
13 | !exit |
||
14 | !endif |
||
15 | !if $sec=$empty and $auth=$empty |
||
16 | jobt=auth |
||
5646 | bpr | 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 | !!!!!! |
||
20 | reyssat | 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 |
||
37 | !endif |
||
38 | !endif |