Skip to content
Snippets Groups Projects
  1. Aug 08, 2018
    • Benjamin Bertrand's avatar
      Replace jwt decorators with flask-login · fb3f568e
      Benjamin Bertrand authored
      Using flask-login request_loader, we can validate jwt tokens.
      This allows to use the same decorators for the web UI (using cookies)
      and the API (using JWT) as well as the current_user local proxy.
      fb3f568e
  2. Jul 06, 2018
  3. Jan 18, 2018
  4. Dec 19, 2017
    • Benjamin Bertrand's avatar
      Add Unique validator · 29c556bf
      Benjamin Bertrand authored
      To check if the unique object is the one being edited, we need to store
      the object used to create the form in the form (_obj).
      This is inspired from flask-admin.
      29c556bf
  5. Dec 14, 2017
  6. Dec 13, 2017
    • Benjamin Bertrand's avatar
      Add token revoking · c5965f94
      Benjamin Bertrand authored
      - All created tokens are stored in the database.
        To revoke a token, we just delete it from the database.
        Tokens not found in the database are thus considered unvalid / revoked.
      
      - Add button to copy generated token to the clipboard
      
      - Redesign profile page
      c5965f94
Loading