fix: clear token after registration
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@
|
||||
auth: false,
|
||||
body: Object.assign({ grantType: 'password', registerSource: 'PC' }, withTenant(body))
|
||||
});
|
||||
setToken(getTokenFromResponse(data));
|
||||
clearToken();
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user