n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.1 kB
JavaScript
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`n8n@2.16.1`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1080ec6e-1d84-4f1d-8f21-73ccf0d14162`,e._sentryDebugIdIdentifier=`sentry-dbid-1080ec6e-1d84-4f1d-8f21-73ccf0d14162`)})()}catch{}import{$ as e,E as t,N as n,X as r}from"./vue.runtime.esm-bundler-C3C09Zii.js";import{at as i}from"./core-Bz5WjPxS.js";import{lt as a}from"./src-XqE2yCpG.js";import{Pn as o,t as s}from"./users.store-xP93bV7X.js";import{Qo as c}from"./constants-DuQbSl-q.js";var l=n({__name:`SignoutView`,setup(n){let l=s(),u=o(),d=a(),f=i(),p=async()=>{try{await l.logout(),window.location.href=d.resolve({name:c.SIGNIN}).href}catch(e){u.showError(e,f.baseText(`auth.signout.error`))}};return r(()=>{p()}),(n,r)=>(e(),t(`div`))}});export{l as default};
//# sourceMappingURL=SignoutView-Bvl-nXQ9.js.map