2024-04-12 15:48:51 -07:00
|
|
|
package auth
|
|
|
|
|
|
|
|
import "templ-test/models"
|
2024-04-13 11:50:05 -07:00
|
|
|
import "templ-test/views/layout"
|
2024-04-12 15:48:51 -07:00
|
|
|
|
|
|
|
templ ShowCookie(m models.AllCookies) {
|
2024-04-14 18:38:09 -07:00
|
|
|
@layout.WithLayout("Cookie Explorer") {
|
2024-04-12 15:48:51 -07:00
|
|
|
<h2>These are stored as cookies</h2>
|
|
|
|
<p>Username: { m.Username }</p>
|
|
|
|
<p>JWT Token: { m.Token }</p>
|
|
|
|
<p>RefreshToken: { m.RefreshToken }</p>
|
|
|
|
}
|
|
|
|
}
|