Merge pull request #77 from ThomasRubini/signup_auth

This commit is contained in:
Thomas Rubini 2023-01-24 20:00:54 +01:00 committed by GitHub
commit 5abfd65948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}