Skip to content
Snippets Groups Projects
Commit c1112da8 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix(login): correction code réponse retour API de GC

parent 1c8f6a5d
No related branches found
No related tags found
1 merge request!873REDMINE_ISSUE-26138 | Liste signalements filtrés - Incohérence des résultats lors de la recherche par titre des signalements
......@@ -156,7 +156,7 @@ export default new Vuex.Store({
password: payload.password,
})
.then((response) => {
if (response.status === 201 && response.data) {
if (response.status === 200 && response.data) {
commit('SET_USER', response.data.user);
dispatch('REDIRECT_AFTER_LOGIN');
dispatch('GET_USER_LEVEL_PROJECTS');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment