Update style and text
This commit is contained in:
parent
3f5cf06048
commit
ea920f1ce6
4 changed files with 5 additions and 4 deletions
|
@ -27,6 +27,7 @@ func SignInUserHandler(c echo.Context) error {
|
|||
// Set the session cookie with the generated session ID
|
||||
lib.SetSessionCookie(c.Response().Writer, "session", lib.SessionData{
|
||||
SessionID: sessionID,
|
||||
Name: user.Name,
|
||||
UserID: user.ID,
|
||||
Email: user.Email,
|
||||
Roles: []string{"user"},
|
||||
|
|
|
@ -18,10 +18,10 @@ Pollo // Register
|
|||
<input class="input input-bordered input-primary w-full max-w-xs" type="text" name="name" placeholder="Name" required>
|
||||
<input class="input input-bordered input-primary w-full max-w-xs" type="email" name="email" placeholder="Email" required>
|
||||
<input class="input input-bordered input-primary w-full max-w-xs" type="password" name="password" placeholder="Password" required>
|
||||
<button class="btn btn-primary" type="submit">Sign In</button>
|
||||
<button class="btn btn-primary" type="submit">Register</button>
|
||||
</form>
|
||||
<div id="error-message"style="color: red;"></div>
|
||||
<p>Already have an account? <a href="/signin">Register</a></p>
|
||||
<p>Already have an account? <a class="link link-primary" href="/signin">Sign In!</a></p>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ Pollo // Sign In
|
|||
<button class="btn btn-primary" type="submit">Sign In</button>
|
||||
</form>
|
||||
<div id="error-message"style="color: red;"></div>
|
||||
<p>Don't have an account? <a href="/register">Register</a></p>
|
||||
<p>Don't have an account? <a class="link link-primary" href="/register">Register!</a></p>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
|
|
2
public/css/styles.css
vendored
2
public/css/styles.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue