mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +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
|
@ -16,8 +16,12 @@ export default Route.extend({
|
|||
session: service(),
|
||||
localStorage: service(),
|
||||
|
||||
beforeModel() {
|
||||
beforeModel(transition) {
|
||||
this.get('localStorage').clearAll();
|
||||
|
||||
if (!_.isUndefined(transition.to.queryParams.fr)) {
|
||||
this.get('localStorage').setFirstRun();
|
||||
}
|
||||
},
|
||||
|
||||
model({ token }) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue