(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{832:function(t,e,o){"use strict";o.r(e);var c=o(195),n=o(196),r=o(27),l=o(489),m=o(5),d=(o(16),o(29),o(21)),_={name:"Settings",middleware:["auth"],data:()=>({password:"",user:{}}),computed:Object(d.d)(["settings"]),methods:{remove_account(){var t=this;return Object(m.a)((function*(){(yield t.$root.$confirm("settings.remove_account_confirm",{color:"error"}))&&(t.$axios.$delete("/user"),t.$auth.logout(),t.$router.replace("/"))}))()}},head(){return{title:"".concat(this.settings.title," - ").concat(this.$t("common.settings"))}}},h=o(12),component=Object(h.a)(_,(function(){var t=this,e=t._self._c;return e(l.a,[e(n.a,[e(r.d,{staticClass:"text-h5"},[t._v(t._s(t.$auth.user.email))]),e(r.c,[e("p",[t._v(t._s(t.$t("settings.remove_account")))]),e(c.a,{staticClass:"black--text",attrs:{color:"warning"},on:{click:t.remove_account}},[t._v(t._s(t.$t("common.remove")))])],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);