Commit Graph

4 Commits

Author SHA1 Message Date
Son a966665478 refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00
Son 372466ab06 do not use flask-sqlalchemy
- add __tablename__ for all models
- use sa and orm instead of db
- rollback all changes in tests
- remove session in @app.teardown_appcontext
2021-10-12 14:36:47 +02:00
Son NK dfe708b4fb return user email in /api/auth/mfa 2020-06-09 17:20:37 +02:00
Son NK ef788f7458 add /api/auth/mfa 2020-01-20 15:00:56 +01:00