Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes: login not redirecting + /domains query appearing in history #563

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/src/store/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default {
// and login prompt will be shown automaticly
await dispatch('GET_YUNOHOST_INFOS')
commit('SET_CONNECTED', true)
await dispatch('GET', { uri: 'domains', storeKey: 'domains' })
await api.get({ uri: 'domains', storeKey: 'domains' })
},

RESET_CONNECTED({ commit }) {
Expand All @@ -170,7 +170,7 @@ export default {
return api
.post('login', { credentials }, null, { websocket: false })
.then(() => {
dispatch('CONNECT')
return dispatch('CONNECT')
})
},

Expand Down