feat(web): show 'Back to home' button on auth when valid token
This commit is contained in:
parent
deb00436f5
commit
0a76f7fd8e
@ -26,6 +26,7 @@
|
|||||||
<link rel="stylesheet" href="/css/auth.css">
|
<link rel="stylesheet" href="/css/auth.css">
|
||||||
<script src="/js/jquery-3.6.0.min.js"></script>
|
<script src="/js/jquery-3.6.0.min.js"></script>
|
||||||
<script src="/js/jquery.cookie.js"></script>
|
<script src="/js/jquery.cookie.js"></script>
|
||||||
|
<script src="/js/token.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
$(window).on("load", validate(() => $(".btn-secondary").css("display", "block"), () => {}));
|
||||||
|
|
||||||
$("#auth").on("submit", function submit(e) {
|
$("#auth").on("submit", function submit(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var input_password = $("#password");
|
var input_password = $("#password");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user