Authenticate user on signup
This commit is contained in:
		
							parent
							
								
									d17a92c551
								
							
						
					
					
						commit
						092d534dc8
					
				| @ -84,6 +84,8 @@ final class UserController | ||||
|         $O_user = new UserModel($S_email, $S_username, $S_password_hash, null, date("Y-m-d"), 0, 0); | ||||
|         $O_user->insert(); | ||||
| 
 | ||||
|         Session::set_login($O_user->I_ID); | ||||
| 
 | ||||
|         self::redirectToPreviousPage($A_postParams); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user