Subversion Repositories oidplus

Rev

Rev 1293 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1293 Rev 1369
Line 109... Line 109...
109
 
109
 
110
                if (!OIDplus::authUtils()->validateAuthKey(['40c87e20-f4fb-11ed-86ca-3c4a92df8582',$email], $auth, OIDplus::config()->getValue('max_ra_invite_time', -1))) {
110
                if (!OIDplus::authUtils()->validateAuthKey(['40c87e20-f4fb-11ed-86ca-3c4a92df8582',$email], $auth, OIDplus::config()->getValue('max_ra_invite_time', -1))) {
111
                        throw new OIDplusException(_L('Invalid or expired authentication key'));
111
                        throw new OIDplusException(_L('Invalid or expired authentication key'));
112
                }
112
                }
113
 
113
 
-
 
114
                if ($already_registered_oid = $this->alreadyHasFreeOid($email, true)) {
-
 
115
                        throw new OIDplusHtmlException(_L('This email address already has a FreeOID registered (%1)', '<a '.OIDplus::gui()->link($already_registered_oid).'>'.htmlentities($already_registered_oid).'</a>'));
-
 
116
                }
-
 
117
 
114
                // 1. step: Check entered data and add the RA to the database
118
                // 1. step: Check entered data and add the RA to the database
115
 
119
 
116
                $ra = new OIDplusRA($email);
120
                $ra = new OIDplusRA($email);
117
                if (!$ra->existing()) {
121
                if (!$ra->existing()) {
118
                        _CheckParamExists($params, 'password1');
122
                        _CheckParamExists($params, 'password1');