Make display name same as username during registration, fixes #267
This commit is contained in:
parent
68677e3692
commit
de78a87ec0
|
@ -154,6 +154,7 @@ export function register(params) {
|
|||
return (dispatch, getState) => {
|
||||
const needsConfirmation = getState().getIn(['instance', 'pleroma', 'metadata', 'account_activation_required']);
|
||||
const needsApproval = getState().getIn(['instance', 'approval_required']);
|
||||
params.fullname = params.username;
|
||||
dispatch({ type: AUTH_REGISTER_REQUEST });
|
||||
return dispatch(createAppAndToken()).then(() => {
|
||||
return api(getState, 'app').post('/api/v1/accounts', params);
|
||||
|
|
Loading…
Reference in New Issue