Skip to content

noAuth component not working as expected #41

Description

@briceicle

I'm requiring derby-login components like so in my app app.use(require('derby-login/components/noAuth'));.

In my templates, I use the views <view is="auth:login"></view> and <view is="auth:register"></view>, but when I click the login or register buttons it always calls the resetpassword route and I get an error on the front-end: "secret field missing".

I don't know if this is because resetpassword is the last component being loaded in noAuth and overwrites all of the other components:

module.exports = function(app, options) {
  app.component(require('./login'));
  app.component(require('./recoverPassword'));
  app.component(require('./register'));
  app.component(require('./resetPassword'));
};

derby version: ^0.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions