Skip to content

Commit

Permalink
auth_jwt_demo: pre-migrate to V15 with installable=False
Browse files Browse the repository at this point in the history
  • Loading branch information
yankinmax committed Jan 19, 2022
1 parent 71166e0 commit 35b0e68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ exclude: |
(?x)
# NOT INSTALLABLE ADDONS
^auth_jwt/|
^auth_jwt_demo/|
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
Expand Down
1 change: 1 addition & 0 deletions auth_jwt_demo/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
"depends": ["auth_jwt"],
"data": [],
"demo": ["demo/auth_jwt_validator.xml"],
"installable": False,
}
5 changes: 2 additions & 3 deletions auth_jwt_demo/tests/spa/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ <h2>SPA OIDC Authentication Sample</h2>
document.getElementById("btn-login").onclick = login;
document.getElementById("btn-logout").onclick = logout;
document.getElementById("btn-whoami").onclick = whoami;
document.getElementById(
"btn-whoami-public-or-jwt"
).onclick = whoami_public_or_jwt;
document.getElementById("btn-whoami-public-or-jwt").onclick =
whoami_public_or_jwt;
</script>
</body>
</html>

0 comments on commit 35b0e68

Please sign in to comment.