feathers-mongoose-casl
Version 2.1.2
Version 2.1.2
  • feathers-mongoose-casl
  • Docs
    • Migrating
    • START A NEW PROJECT
      • Generate a new project.
      • install feathers-mongoose-casl
      • feathers-logger
      • Update config
      • Add mongoose
      • Email service
      • App hooks
      • Import required services
      • Verify user and filter user fields
      • Swagger, Logger, BodyParser
      • Email templates
      • public HTML
      • Run the server
      • Create you first user
      • vs code snippet extension
      • Test Login
      • Dashboard
      • Create a new Service with casl&Dashboard
      • Posts Postman snippet
      • Add Admin role
      • Done!
    • Advanced
      • Security - eslint-plugin-security
      • Security - rate limiting
      • Development tools
    • Guides
      • Throw errors
      • Auth Flow
      • Authentication
      • Authouriztion
      • /me
      • Rules Cache
      • Create a new service
      • Custom service validtor client data
      • validators
        • Example of use
        • Types
        • Mongoose schema
      • Default value
      • $Populate
      • Upload service
      • Upload files
        • Create upload service
        • Sign File After Populate
        • Storage support
          • Google-cloud
      • Error
      • feathers Client examples
      • Dashboard
        • Dashboard Config
          • Field configuration
          • doc Layout
          • custom Fields
            • customElements
        • Online dashboard
        • Add to your react app
      • customized feathers-mongoose-casl/services
      • Redis - in progress
      • S3
      • Postman
      • Swagger
      • debug
    • Production
      • ENV
    • Feathers wiki
      • Good links
    • utils
      • send email example
      • Async For Each
      • Create heroku server
      • pick
      • vs code snippet extension
      • Persist user request
    • Ecosystem
    • TODO
    • Versions updates
Powered by GitBook
On this page

Was this helpful?

  1. Docs
  2. START A NEW PROJECT

public HTML

Copy html files email - verify.html, change-password.html

PreviousEmail templatesNextRun the server

Last updated 6 years ago

Was this helpful?

We need 2 screens to let the user the ability to verify is email and to reset-password -

  • verify.html

    When user signup we will send him a verification email with a link to this screen, the link has a token that let as verify user email

  • change-password.html When the user forgot his password we will send him an email with a link to this screen, the link has a token that let as verify the user. and the user can change is password from this screen

. 1- open node_modules\feathers-mongoose-casl\lib\src\services\authmanagement\public

2- Copy the files to my-new-app\public

3- Git commit

git add .
git commit -m "create verify and change-password public html"

By default we use change-password.html route to change password,

If you want to change password from other address, add this line to config file-

"changePasswordClientUrl": "http://localhost:8080/change-password"