1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

improved setup wizard redirection

This commit is contained in:
Harvey Kandola 2017-08-29 17:55:41 +01:00
parent 8081b60146
commit d3512b499a
15 changed files with 670 additions and 661 deletions

View file

@ -36,6 +36,7 @@ export default Ember.Service.extend({
authProvider: constants.AuthProvider.Documize,
authConfig: null,
setupMode: false,
secureMode: false,
invalidLicense() {
return this.valid === false;
@ -68,7 +69,7 @@ export default Ember.Service.extend({
this.setProperties({
title: htmlSafe("Secure document viewing"),
allowAnonymousAccess: true,
setupMode: true
secureMode: true
});
this.get('localStorage').clearAll();