From 6bf174a95ba0f71abf25397316fc101405381cdf Mon Sep 17 00:00:00 2001
From: jloup <jloup@jloup.work>
Date: Sun, 13 May 2018 23:07:26 +0200
Subject: Admin user token in frontend.

---
 cmd/web/js/signup.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cmd/web/js/signup.jsx')

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)
 );
-- 
cgit v1.2.3

