mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
fix lost auth token issue when refresh page
This commit is contained in:
parent
8c2df6178d
commit
041091504f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export default Route.extend(ApplicationRouteMixin, {
|
|||
let sa = this.get('session.session.authenticator');
|
||||
|
||||
return this.get('appMeta').boot(transition.targetName, '').then(data => {
|
||||
if (sa !== "authenticator:documize" && sa !== "authenticator:keycloak" && sa !== "authenticator:ldap" && data.allowAnonymousAccess) {
|
||||
if (sa !== "authenticator:documize" && sa !== "authenticator:keycloak" && sa !== "authenticator:ldap" && sa != "authenticator:cas" && data.allowAnonymousAccess) {
|
||||
if (!this.get('appMeta.setupMode') && !this.get('appMeta.secureMode')) {
|
||||
return this.get('session').authenticate('authenticator:anonymous', data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue