Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

GroupsRequired does not use a configurable 'unauthorized' view #418

@sizo0

Description

@sizo0

Hello,
I noticed that we can't use configurable 'unauthorized' view with stormpath because it's hardcoded in lib/middleware/groups-required.js line 27.
You can, in fact, make the view configurable by modifying the line to
var view = config.web.unauthorized !== 'undefined' ? config.web.unauthorized.view : 'unauthorized';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions