mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
Accept activation key during setup process
Enterprise edition only.
This commit is contained in:
parent
887c999a1e
commit
4d2f30711c
11 changed files with 161 additions and 52 deletions
|
@ -59,10 +59,12 @@ export default Service.extend({
|
|||
|
||||
let isInSetupMode = dbhash && dbhash !== "{{.DBhash}}";
|
||||
if (isInSetupMode) {
|
||||
let edition = document.head.querySelector("[property=edition]");
|
||||
this.setProperties({
|
||||
title: htmlSafe("Documize Setup"),
|
||||
allowAnonymousAccess: true,
|
||||
setupMode: true
|
||||
setupMode: true,
|
||||
edition: !_.isNull(edition) ? edition : 'Community'
|
||||
});
|
||||
|
||||
this.get('localStorage').clearAll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue