Skip to content

Commit 99ff097

Browse files
Automatically accept privacy policy upon registering (#18988)
1 parent 15d2d34 commit 99ff097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/server/src/user/user-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class UserService {
7474
}
7575
if (newUser.additionalData) {
7676
// When a user is created, it does not have `additionalData.profile` set, so it's ok to rewrite it here.
77-
// todo:revert newUser.additionalData.profile = { acceptedPrivacyPolicyDate: new Date().toISOString() };
77+
newUser.additionalData.profile = { acceptedPrivacyPolicyDate: new Date().toISOString() };
7878
}
7979
}
8080

0 commit comments

Comments
 (0)