perf(web): remove js cookie management

This commit is contained in:
Masahiko AMANO 2023-02-01 20:28:53 +03:00
parent e81ee683b7
commit ef373db8d5
2 changed files with 0 additions and 2 deletions

View File

@ -25,7 +25,6 @@
<link rel="stylesheet" href="/css/general.css">
<link rel="stylesheet" href="/css/auth.css">
<script src="/js/jquery-3.6.0.min.js"></script>
<script src="/js/jquery.cookie.js"></script>
</head>
<body>
<header>

View File

@ -11,7 +11,6 @@ $("#auth").on("submit", function submit(e) {
dataType: "json",
success: function (resp) {
if (resp.status) {
$.cookie("token", resp.token, {expires: 7, path: '/'});
input_password.removeClass("is-invalid");
input_password.addClass("is-valid");
$(".btn-secondary").css("display", "block");