Skip to content
Snippets Groups Projects

:fire: removed non used imports + :bug: maxlength for avatar changed

Merged VOGT VICTOR requested to merge fix/proxy-removal into main
Compare and
3 files
+ 3
10
Preferences
Compare changes
Files
3
@@ -54,18 +54,14 @@ export const login = (loginData, ownProps) => {
if(response.ok){
response.json().then(data => {
userService.setToken(data.token);
let user = dispatch(fetchUserData());
//dispatch(user);
dispatch(fetchUserData());
ownProps.history.push('/');
// TODO: do another request to know if user paid adhesion
// make request to get user data
var paid=true;
if(paid){
userService.setAdhesion(true);
dispatch(loginSuccesPaymentDone(data));