mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Create default users groups during setup process
This commit is contained in:
parent
e6e099db1a
commit
f3e4b4060e
3 changed files with 694 additions and 655 deletions
|
@ -16,7 +16,8 @@ export default Route.extend({
|
|||
beforeModel() {
|
||||
let pwd = document.head.querySelector("[property=dbhash]").content;
|
||||
if (pwd.length === 0 || pwd === "{{.DBhash}}") {
|
||||
this.transitionTo('auth.login'); // don't allow access to this page if we are not in setup mode, kick them out altogether
|
||||
// don't allow access to this page if we are not in setup mode
|
||||
this.transitionTo('auth.login');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue