- Refactory cookie and API session handle. Insolated y routes and controllers (api-auth.go, app-auth.go).
- Cookie lifetime with sliding expiration - Fix bug single global expiresAt in JWT, now each token has unique ExpiresAt
This commit is contained in:
parent
bf8e2e90ec
commit
10ded026df
10 changed files with 358 additions and 304 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<body>
|
||||
<main>
|
||||
|
||||
<form method="POST" action="/signin">
|
||||
<form method="POST" action="/appsignin">
|
||||
<div>
|
||||
<label for="email">Email:</label>
|
||||
<input type="text" id="email" name="email" required>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue