Commit Graph

29 Commits

Author SHA1 Message Date
9f5fdd65ab Do not consider as valid sessions that are not completely signed in 2022-04-03 14:46:58 +02:00
123dc519af Disabled accounts can not login 2022-04-03 14:42:16 +02:00
9a4c725b4e Fix typo 2022-04-02 19:46:02 +02:00
f08fddc79c Can redirect user on successful login 2022-04-02 19:44:13 +02:00
da74acaed8 Restrict access to admin routes 2022-04-02 19:23:32 +02:00
91fd763fe1 Redirect anonymous user from authenticated pages 2022-04-02 17:44:10 +02:00
9e72e6a044 Delegate session lifetime to actix-identity crate 2022-04-02 17:17:54 +02:00
cb4daa1112 Get identity from middleware 2022-04-02 17:03:51 +02:00
ad58d2de7e Remove expect on session deserialization failure 2022-04-02 16:02:07 +02:00
1070d80553 Restrict access to .git directory 2022-04-02 15:58:31 +02:00
3fdb775308 Start to implement auth middleware 2022-04-02 15:44:09 +02:00
ce220c52f7 Add max session duration 2022-04-02 15:30:08 +02:00
777b8814f5 Cargo clippy 2022-04-02 08:31:48 +02:00
4b8c9fdfdc Can request new user password on login 2022-04-02 08:30:01 +02:00
0f4a5cde57 Merge pull request 'Configure Renovate' (#1) from renovate/configure into master
Reviewed-on: #1
2022-04-01 22:53:19 +02:00
41ee80a077 Refactor sessions management 2022-04-01 22:51:33 +02:00
372dfa3f31 User can sign out 2022-04-01 19:05:40 +02:00
e07dee7fde Redirect user after successful login 2022-04-01 18:59:17 +02:00
drone
2960b6ed10 Add renovate.json 2022-04-01 00:10:26 +00:00
eab9bdf7f5 Add actix-identity crate 2022-03-30 16:58:00 +02:00
6fdac7fbb1 Add communication with user actor 2022-03-30 12:41:22 +02:00
bfe4674f88 Create users actor 2022-03-30 11:40:03 +02:00
70aaa1ff44 Display login page 2022-03-30 11:00:20 +02:00
5bc4af399d Ready to implement login page 2022-03-30 10:29:10 +02:00
70df96f286 Migrate to actix 2022-03-30 10:14:39 +02:00
d75242d213 Add assets route 2022-03-30 09:40:46 +02:00
6d8b8979ca Fix coding style issue 2022-03-30 08:42:18 +02:00
b4e8113706 Automatically create admin on first start 2022-03-29 19:32:31 +02:00
2d062320a7 Initial commit 2022-03-29 18:19:23 +02:00