#set( $allowguestregistration = $context.findValue("allowguestregistration") ) #ifnull($loginroot) #set($loginroot = $content.loginroot) #end $context.putPageValue("loginroot", $loginroot) #ifnull( $selecteduser ) #if( $userapproveremail) ##Uses and admin to create the user $pages.include("${loginroot}/sendmagicklinkdisableduser.html") ##to try again or register #else #if( $allowguestregistration == "false" ) [[No user found]] $pages.include("${loginroot}/ajaxloginform.html") ##to try again or register #else ##asks for the first and last name then sends a code $pages.include("${loginroot}/ajaxsendnewusercode.html") #end #end #end #ifnotnull( $selecteduser ) ##Sends a code right away and asks for the numbers $pages.include("${loginroot}/ajaxsendusercode.html") ##to try again or register #end