Fix the build.
This commit is contained in:
parent
e4d743910d
commit
d4d81515d2
|
@ -228,7 +228,8 @@ export default Ember.Controller.extend(
|
|||
type: "POST",
|
||||
data: token ? { token_id: token.id } : {}
|
||||
}
|
||||
).then(() => {
|
||||
)
|
||||
.then(() => {
|
||||
if (!token) {
|
||||
const redirect = this.siteSettings.logout_redirect;
|
||||
if (Ember.isEmpty(redirect)) {
|
||||
|
|
Loading…
Reference in New Issue