Commit Graph

11 Commits

Author SHA1 Message Date
Adrià Casajús d8943cf126
Fix: Allow to create more than one api key if the user has more than one (#1822)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2023-07-25 17:15:18 +02:00
Adrià Casajús d62bff8e46
Add rate limit and maximum amount of api keys (#1788)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2023-06-29 17:21:00 +02:00
Adrià Casajús d874acfe2c
Fix: Add CSRF validation to api key management page (#1523)
* Fix: Add CSRF validation to api key management page

* Added csrf to subdomain creation

* Added CSRF to totp cancel

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2023-01-12 12:34:47 +01:00
Son Nguyen Kim 9cf2f44166
only allow to copy the api key when it is created (#1059)
* show api key created time

* only allow user to copy the api key when it is created

* typo
2022-06-08 10:31:58 +02:00
Son 1952f368a8 require password to use the api key page 2022-03-21 14:40:47 +01:00
george 74713c2142
Rename method. 2022-01-25 18:32:34 +00:00
george 65531b5c63
Add a button to delete all API Keys. 2022-01-23 18:38:54 +00: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 d453c83974 order api key by created order 2020-04-28 20:08:45 +02:00
Son NK 632484ee5c Update wording: remove "successfully" 2019-12-30 17:43:38 +01:00
Son NK 4f874eec43 Create API Key page 2019-12-15 18:55:16 +02:00