Default terms and conditions to stirlingpdf.com (#2058)

This commit is contained in:
Anthony Stirling
2024-10-22 00:42:17 +01:00
committed by GitHub
parent e01ba93cf8
commit 04d5ae1912
6 changed files with 47 additions and 12 deletions

View File

@@ -45,9 +45,6 @@ public class UserService implements UserServiceInterface {
@Autowired DatabaseBackupInterface databaseBackupHelper;
public long getTotalUserCount() {
return userRepository.count();
}
// Handle OAUTH2 login and user auto creation.
public boolean processOAuth2PostLogin(String username, boolean autoCreateUser)
@@ -362,4 +359,9 @@ public class UserService implements UserServiceInterface {
return principal.toString();
}
}
@Override
public long getTotalUsersCount() {
return userRepository.count();
}
}