We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 221f5d1 commit 8ceb050Copy full SHA for 8ceb050
routes/api/v1/auth/verify-link-email.dart
@@ -23,7 +23,7 @@ Future<Response> onRequest(RequestContext context) async {
23
'Authentication required to verify email link.',
24
);
25
}
26
- if (!authenticatedUser.roles.contains(UserRoles.guestUser)) {
+ if (authenticatedUser.appRole != AppUserRole.guestUser) {
27
throw const BadRequestException(
28
'Account is already permanent. Cannot complete email linking.',
29
0 commit comments