Skip to content

Commit

Permalink
chore: updating template so the login would look like the design
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadhb committed Nov 11, 2024
1 parent 5f0257b commit 54ae8a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/apps/auth/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package auth

import (
"errors"
"fmt"
"socious/src/config"
"time"

Expand Down Expand Up @@ -47,7 +46,6 @@ func GenerateSSOToken(email, firstName, lastName string) (string, error) {
},
}

fmt.Println("config.Config.SSOSecret", config.Config.SSO.Secret)
token := jwt.NewWithClaims(jwt.SigningMethodHS256, claims)
return token.SignedString([]byte(config.Config.SSO.Secret))
}
Expand Down
2 changes: 1 addition & 1 deletion src/apps/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h2>Sign in with Socious</h2>
{{end}}
<div class="section">
<button type="submit" theme="primary">Sign in</button>
<a theme="primary-outline">Create a account</a>
<a theme="primary-outline">Create account</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 54ae8a7

Please sign in to comment.