app-MAIL-temp/app/dashboard/views
Adrià Casajús d324e2fa79
Fix: Add csrf verification to directory updates (#1358)
* Fix: Add csrf verification to directory updates

* Update templates/dashboard/directory.html

* Added csrf for delete account form

* Fix tests

* Added CSRF check for settings page

* Added csrf to batch import

* Added CSRF to alias dashboard and alias transfer

* Added csrf to contact manager

* Added csrf to mailbox

* Added csrf for mailbox detail

* Added csrf to domain detail

* Lint

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-10-27 10:04:47 +02:00
..
__init__.py bootstrap: db models, login, logout, dashboard pages 2019-07-01 18:18:12 +03:00
alias_contact_manager.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
alias_log.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
alias_transfer.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
api_key.py only allow to copy the api key when it is created (#1059) 2022-06-08 10:31:58 +02:00
app.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
batch_import.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
billing.py Send email to users with a subscription and a partner plan upgrade (#1101) 2022-06-20 14:34:20 +02:00
contact_detail.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
coupon.py Send email to users with a subscription and a partner plan upgrade (#1101) 2022-06-20 14:34:20 +02:00
custom_alias.py Refactor alias suffix (#1194) 2022-07-27 17:40:22 +02:00
custom_domain.py new domain has ownership verified if its root has the ownership verified 2021-12-31 11:10:36 +01:00
delete_account.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
directory.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
domain_detail.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
enter_sudo.py remove envs used for proton beta link (#1189) 2022-07-26 12:38:18 +02:00
fido_manage.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
fido_setup.py Display recovery codes for mfa only once (#1317) 2022-10-03 12:32:45 +02:00
index.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
lifetime_licence.py Send email to users with a subscription and a partner plan upgrade (#1101) 2022-06-20 14:34:20 +02:00
mailbox.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
mailbox_detail.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
mfa_cancel.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
mfa_setup.py Display recovery codes for mfa only once (#1317) 2022-10-03 12:32:45 +02:00
notification.py mark a notification as read when user arrives on the notification page 2022-03-09 17:58:26 +01:00
pricing.py small refactoring (#1120) 2022-06-28 17:21:23 +02:00
referral.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
refused_email.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
setting.py Fix: Add csrf verification to directory updates (#1358) 2022-10-27 10:04:47 +02:00
setup_done.py redirect user to dashboard when setup is done 2020-10-28 10:49:50 +01:00
subdomain.py make sure subdomain can only contain lowercase letters, numbers and dashes. 2022-01-26 14:53:27 +01:00
support.py Revert "remove deduct_limit as it has no effect (#1347)" (#1348) 2022-10-13 22:00:45 +02:00
unsubscribe.py Allow users to keep the original unsub behaviour (#1148) 2022-07-19 17:25:21 +02:00