Skip to content

Commit

Permalink
change filenames for auth user fields (wasp-lang#193)
Browse files Browse the repository at this point in the history
* change filenames

* change names
  • Loading branch information
vincanger authored Jun 27, 2024
1 parent c3f9c8a commit 2cb9c3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions template/app/main.wasp
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ app OpenSaaS {
},
emailVerification: {
clientRoute: EmailVerificationRoute,
getEmailContentFn: import { getVerificationEmailContent } from "@src/server/auth/email.js",
getEmailContentFn: import { getVerificationEmailContent } from "@src/server/auth/email",
},
passwordReset: {
clientRoute: PasswordResetRoute,
getEmailContentFn: import { getPasswordResetEmailContent } from "@src/server/auth/email.js",
getEmailContentFn: import { getPasswordResetEmailContent } from "@src/server/auth/email",
},
userSignupFields: import { getEmailUserFields } from "@src/server/auth/setUsername.js",
userSignupFields: import { getEmailUserFields } from "@src/server/auth/userSignupFields",
},
// Uncomment to enable Google Auth (check https://wasp-lang.dev/docs/auth/social-auth/google for setup instructions):
// google: { // Guide for setting up Auth via Google
// userSignupFields: import { getGoogleUserFields } from "@src/server/auth/setUsername.js",
// configFn: import { getGoogleAuthConfig } from "@src/server/auth/setUsername.js",
// userSignupFields: import { getGoogleUserFields } from "@src/server/auth/userSignupFields",
// configFn: import { getGoogleAuthConfig } from "@src/server/auth/userSignupFields",
// },
// Uncomment to enable GitHub Auth (check https://wasp-lang.dev/docs/auth/social-auth/github for setup instructions):
// gitHub: {
// userSignupFields: import { getGitHubUserFields } from "@src/server/auth/setUsername.js",
// configFn: import { getGitHubAuthConfig } from "@src/server/auth/setUsername.js",
// userSignupFields: import { getGitHubUserFields } from "@src/server/auth/userSignupFields",
// configFn: import { getGitHubAuthConfig } from "@src/server/auth/userSignupFields",
// },
},
onAuthFailedRedirectTo: "/login",
Expand Down
File renamed without changes.

0 comments on commit 2cb9c3d

Please sign in to comment.