backend
backend copied to clipboard
Address TODO: when Guardian > v1.1.0 is released
Refactor to use on_refresh
callback in the authentication code as well
Blocked by #338, because Guardian 2.0 depends on Ecto 3
For reference: https://github.com/source-academy/cadet/blob/master/lib/cadet/auth/guardian.ex#L36 and https://github.com/source-academy/cadet/blob/master/lib/cadet_web/controllers/auth_controller.ex#L62