go-cook-portal/views/auth/cookie.templ

14 lines
306 B
Plaintext

package auth
import "templ-test/views"
import "templ-test/models"
templ ShowCookie(m models.AllCookies) {
@views.WithLayout("Cookie Explorer", true) {
<h2>These are stored as cookies</h2>
<p>Username: { m.Username }</p>
<p>JWT Token: { m.Token }</p>
<p>RefreshToken: { m.RefreshToken }</p>
}
}