File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 672672 simplyApp . commands . autofocus ( ) ;
673673 } ,
674674 "registerCompleted" : function ( el ) {
675- document . location . href = "/login /" ;
675+ document . location . href = "/dashboard /" ;
676676 simplyApp . commands . autofocus ( ) ;
677677 } ,
678678 "registerDone" : function ( el ) {
Original file line number Diff line number Diff line change 202202 case "/api/accounts/new/ " :
203203 $ verifyToken = User::getVerifyToken ($ _POST ['confirm ' ]);
204204 if (!$ verifyToken ) {
205- error_log ("No verify token sent " );
205+ error_log ("Could not read verify token " );
206206 header ("HTTP/1.1 400 Bad Request " );
207207 exit ();
208208 }
240240 );
241241 header ("HTTP/1.1 201 Created " );
242242 header ("Content-type: application/json " );
243+ Session::start ($ _POST ['email ' ]);
243244 echo json_encode ($ responseData , JSON_PRETTY_PRINT );
244245 break ;
245246 case "/api/accounts/reset-password " :
You can’t perform that action at this time.
0 commit comments