Once a user has been created, the button for creating a user on the node-edit form should no longer be visible.

Comments

thedavidmeister’s picture

Version: » 6.x-1.x-dev
Priority: Minor » Normal

I just added this right at the top of the hook_form_alter and it fixed this issue for me, no patch attached because I'm working across a few different issues on a deadline atm, sorry..

  /* don't do anything if the node already has an author */
  if(!empty($form['uid']['#value'])) return;
thedavidmeister’s picture

ianwremmel’s picture

Status: Active » Needs review

Committed variation to dev

ianwremmel’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.