X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=cmd%2Fweb%2Fjs%2Fsignup.jsx;h=08509e82845281bd500c3ee66cf8dd726803a8bf;hb=6bf174a95ba0f71abf25397316fc101405381cdf;hp=b7d92875e81bb205395f34c8bc8820e3cb1a8622;hpb=87b6d05e5b289f3e9d1554fe455296ba09655c3a;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git diff --git a/cmd/web/js/signup.jsx b/cmd/web/js/signup.jsx index b7d9287..08509e8 100644 --- a/cmd/web/js/signup.jsx +++ b/cmd/web/js/signup.jsx @@ -24,7 +24,7 @@ class SignupForm extends React.Component { } this.displayMessage('Thank You. Your account is being confirmed. Check your mailbox soon', true); - this.props.onSuccess(data.token); + this.props.onSuccess(data.token, data.isAdmin); }.bind(this) );