Commit Graph

2 Commits (2c8a5909cb76f66671b95e0cb6b9fbd2e09ac3e9)

Author SHA1 Message Date
Aravinth Manivannan 19ed720b82
feat: mv redirect if authenticated to decorator and guard other
sigin/signup views
2022-06-22 00:43:10 +05:30
Aravinth Manivannan 2ccf3d9679
feat: confirm access decorator
DESCRIPTION
    Some views are privileged and unauthorized execution can have
    irreversible changes. confirm_access decorator checks if the user's
    session is verified for privileged operation execution.

    If not, it will redirect user to "accounts.sudo" vie" vie" vie" view
2022-06-18 21:52:18 +05:30