Subversion Repositories wimsdev

Rev

Rev 12555 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7031 czzmrn 1
!!!this file must be in the module directory because of the !mexec !!!!
2
INPUT external_login
3
OUTPUT : the up_xxx needed for the register of the user
4
!!
5
!! When idp_method=php user registration is carried out by the php
6
!! script and all the data exchange between wims and the php script is
7
!! carried out via adm/raw. There are few situation in which data
8
!! exchange through this script is necessary
9
!!
10
 
11
!! supervisor registering new users in a class (TODO check if extra
12
!! checks are needed)
13
!if $wims_user=supervisor
14
  up_firstname=$firstn
15
  up_lastname=$lastn
16
  up_email=$email
17
!else
17048 czzmrn 18
!! user registering to subclass in a groupment with no password
19
  !if $classpass_=$empty and $wims_user!=$empty
20
    !! not particular setting seems to be needed
21
  !else
22
!!    !debug $wims_user,$auth_user,$classpass_,$superclass,$passverify,$firstn,$lastn,$email
7031 czzmrn 23
!! todo: should never get to this point, but still need some testing
17048 czzmrn 24
    !debug please email this page to wims@unimib.it
25
  !endif
12555 bpr 26
!endif
7031 czzmrn 27