diff options
author | jloup <jloup@jloup.work> | 2018-05-13 23:07:26 +0200 |
---|---|---|
committer | jloup <jloup@jloup.work> | 2018-05-13 23:07:26 +0200 |
commit | 6bf174a95ba0f71abf25397316fc101405381cdf (patch) | |
tree | 4a7915347ea102b10701a0c1e04655d7d95f5df8 /cmd/web/js/signup.jsx | |
parent | d5b8f0ffbbde5fb8d41c3abb4b0969b962746b52 (diff) | |
download | Front-6bf174a95ba0f71abf25397316fc101405381cdf.tar.gz Front-6bf174a95ba0f71abf25397316fc101405381cdf.tar.zst Front-6bf174a95ba0f71abf25397316fc101405381cdf.zip |
Admin user token in frontend.
Diffstat (limited to 'cmd/web/js/signup.jsx')
-rw-r--r-- | cmd/web/js/signup.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
24 | } | 24 | } |
25 | 25 | ||
26 | this.displayMessage('Thank You. Your account is being confirmed. Check your mailbox soon', true); | 26 | this.displayMessage('Thank You. Your account is being confirmed. Check your mailbox soon', true); |
27 | this.props.onSuccess(data.token); | 27 | this.props.onSuccess(data.token, data.isAdmin); |
28 | 28 | ||
29 | }.bind(this) | 29 | }.bind(this) |
30 | ); | 30 | ); |