mirror of
https://github.com/documize/community.git
synced 2025-07-27 17:19:42 +02:00
Allow session service to hold secure viewing token
This commit is contained in:
parent
3da4144c1b
commit
924b707db0
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ export default SimpleAuthSession.extend({
|
||||||
currentFolder: null,
|
currentFolder: null,
|
||||||
isMac: false,
|
isMac: false,
|
||||||
isMobile: false,
|
isMobile: false,
|
||||||
|
secureToken: '',
|
||||||
|
|
||||||
hasAccounts: computed('isAuthenticated', 'session.content.authenticated.user', function () {
|
hasAccounts: computed('isAuthenticated', 'session.content.authenticated.user', function () {
|
||||||
return this.get('session.authenticator') !== 'authenticator:anonymous' && this.get('session.content.authenticated.user.accounts').length > 0;
|
return this.get('session.authenticator') !== 'authenticator:anonymous' && this.get('session.content.authenticated.user.accounts').length > 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue