Commit Graph

71 Commits

Author SHA1 Message Date
fc92b9452a Easily get current signed in user in requests 2022-04-05 17:40:33 +02:00
31949bf414 Cargo clippy 2022-04-05 17:18:41 +02:00
83e6871997 Can change user password 2022-04-05 17:17:34 +02:00
e1eb64f27c Display account details 2022-04-04 17:39:23 +02:00
886bae32c8 Enable bruteforce protection on login endpoint 2022-04-03 17:33:01 +02:00
b965fa6b4f Format code 2022-04-03 15:50:49 +02:00
9236b91f12 Block POST requests from unknown origins 2022-04-03 15:48:45 +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
ad58d2de7e Remove expect on session deserialization failure 2022-04-02 16:02:07 +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
41ee80a077 Refactor sessions management 2022-04-01 22:51:33 +02:00
e07dee7fde Redirect user after successful login 2022-04-01 18:59:17 +02: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
70df96f286 Migrate to actix 2022-03-30 10:14:39 +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