implement auth using Auth0
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
{{ componentBody "nav_bar" }}
|
||||
|
||||
|
||||
<h1>Account: {{ .PathParams.acctID }}</h1>
|
||||
|
||||
{{- $acctID := parseInt64 .PathParams.acctID }}
|
||||
{{- $acct := (.Accounts.GetAccount $acctID) }}
|
||||
|
||||
Email: {{ (.Accounts.GetAccount $acctID).Email }}
|
||||
<h1>Account: {{ $acct.Email }} (id: {{ $acctID }})</h1>
|
||||
|
||||
{{- $etsyUser := .Etsy.GetUserPointerByAccountID $acctID }}
|
||||
{{- if $etsyUser }}
|
||||
|
||||
@@ -2,4 +2,6 @@
|
||||
|
||||
<h1>Home</h1>
|
||||
|
||||
<h2><a href="sign-up">Sign Up!</a></h2>
|
||||
<h2><a href="/sign-up">Sign Up!</a></h2>
|
||||
|
||||
<h2><a href="/test-auth">Test Auth</a></h2>
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
<h1>Log In</h1>
|
||||
|
||||
<form action="log-in" method="post">
|
||||
<form action="login" method="post">
|
||||
<label>
|
||||
Email:
|
||||
<input type="text" required name="email" />
|
||||
Reference in New Issue
Block a user