Commit graph

20 commits

Author SHA1 Message Date
da4b204601 totp: generate backup code, attempt to use backup code when checking totp, delete backup after successful use 2023-05-01 16:31:58 +02:00
8658966b41 database: added totp codes migrations, get/add/use token 2023-05-01 11:57:41 +02:00
f891d2f940 updated api to create totp struct, get totp secret directly if it exists 2023-05-01 11:48:57 +02:00
233e26520c totp: new crate, sql migration + queries, enable totp page, save secret in database 2023-04-25 23:37:24 +02:00
751a21485f forgot password: email and paper key, reset password 2023-04-19 18:03:38 +02:00
5153d057b0 admin: added list of users 2023-04-16 22:00:29 +02:00
800705e134 user: added updated_at method 2023-04-15 11:02:03 +02:00
e49c146dfd users: store timezone, default is "UTC" 2023-04-13 22:01:27 +02:00
b05361510a settings/security: change password 2023-04-10 18:58:57 +02:00
a67c7559b9 settings/security: generate paper key 2023-04-10 15:17:08 +02:00
a47e4c204a personal settings: update username, name, email 2023-04-05 23:41:25 +02:00
51ceee9295 update dependencies 2023-03-24 23:23:14 +01:00
8db0bbb874 if access token expired, use refresh token, and get new access + refresh tokens 2023-03-19 20:03:30 +01:00
e99115e174 ezidam + jwt: get key, import private key, create jwt claims and sign them 2023-03-18 16:14:26 +01:00
827bba041a ezidam: oauth: redirect: get and check code, get user info, mark code as used, display html template 2023-03-18 00:40:11 +01:00
bb4ff8a9f8 ezidam: oauth: authorize: generate and save authorization code 2023-03-16 23:20:27 +01:00
1695eca466 auth: wip: sign in page and form, need to finish 2023-03-11 00:38:13 +01:00
d790d2ff29 users: get user by id, email, username 2023-03-11 00:33:58 +01:00
e04de752ef user: get one by id 2023-03-08 00:15:00 +01:00
3e168c19bc users: migrations, queries, users crate: create user, get first admin user 2023-03-05 23:31:10 +01:00