login by password or totp

This commit is contained in:
Julian Krauser 2025-05-05 14:21:13 +02:00
parent a476bf6823
commit be22c78372
3 changed files with 39 additions and 12 deletions

View file

@ -136,7 +136,6 @@ export default abstract class UserService {
* @returns {Promise<user>}
*/
static async getUserSecretAndRoutine(userId: string): Promise<user> {
//TODO: not working yet
return await dataSource
.getRepository(user)
.createQueryBuilder("user")