Skip to content
Permalink
Browse files
fix: auth bug
  • Loading branch information
MantasMikal committed Feb 5, 2021
1 parent 5c575f4 commit c63a8ed59556f5a70847b610361199187b7db6a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
@@ -3,7 +3,7 @@
"name": "WebAuthn UX Test API - Dev Mode",
"port": 4000,
"mode": "development",
"siteUrl": "https://localhost:3000/",
"siteUrl": "https://localhost:3000",
"protocol": "http",
"serverUrl": "localhost"
}
@@ -1,7 +1,7 @@
export const accountVerificationTemplate = (url) => ({
subject: `🎉 Successfully created a new account on Fakebook`,
subject: `🎉 Verify your FakeBook account`,
bodyHtml: `
<h1>Thanks for helping me with the study 😎</h1>
<a href="${url}">Verify your account by clicking here </a>
<h1>Verify your account by clicking <a href="${url}">here</a></h1>
<p>Thanks for helping me with the study 😎 </>
`
});
@@ -19,7 +19,7 @@ const config = cfg.get(mode);

app.use(
cors({
origin: [config.siteUrl, "localhost", "http://web-authn.studio"],
origin: [config.siteUrl, "localhost"],
credentials: true,
allowedHeaders: [
"Content-Type",

0 comments on commit c63a8ed

Please sign in to comment.