Add UI for admins to view and edit member's details
This commit is contained in:
@@ -16,7 +16,6 @@ export function LoginForm(props) {
|
||||
setLoading(true);
|
||||
requester('/rest-auth/login/', 'POST', '', input)
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
setError({});
|
||||
props.setTokenCache(res.key);
|
||||
})
|
||||
@@ -71,7 +70,6 @@ export function SignupForm(props) {
|
||||
input.username = genUsername();
|
||||
requester('/registration/', 'POST', '', input)
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
setError({});
|
||||
props.setTokenCache(res.key);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user