Git Product home page Git Product logo

Comments (4)

elifoz avatar elifoz commented on May 31, 2024

Hi! when I start the app with npm start it returns me that and not upload the website

express-session deprecated undefined resave option; provide resave option node_modules\admin-bro-expressjs\plugin.js:176:14
express-session deprecated undefined saveUninitialized option; provide saveUninitialized option node_modules\admin-bro-expressjs\plugin.js:176:14
express-session deprecated req.secret; provide secret option node_modules\admin-bro-expressjs\plugin.js:176:14
express-session deprecated req.secret; provide secret option app.js:34:3

how can I fix it?

okey I fixed that but now when U want to sign in it returns me invalid csrf token
403 error,please help me!

from bestbags-nodejs-ecommerce.

elifoz avatar elifoz commented on May 31, 2024

Hi! I want to login as admin but it returns me wrong email and/or password what I should have to do? thanks

from bestbags-nodejs-ecommerce.

maryamaljanabi avatar maryamaljanabi commented on May 31, 2024

@elifoz Hello, if you want to login as admin in your project, you should provide the following in the .env file:

ADMIN_EMAIL, ADMIN_PASSWORD: the email and password used to log into the admin panel using AdminBro. You can put any email and password here.

ADMIN_COOKIE_NAME, ADMIN_COOKIE_PASSWORD: the cookie name and password used in the AdminBro authentication method. You can put any strings here.

You can use the ADMIN_EMAIL, ADMIN_PASSWORD to login to the admin page.

from bestbags-nodejs-ecommerce.

elifoz avatar elifoz commented on May 31, 2024

oket I got it thanks!

from bestbags-nodejs-ecommerce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.