On the user account settings, I noticed that an email address account setting is mandatory. This occurs when you do NOT want to use the user name and password as the email account.

On my site, I have a role that is allowed to use webmail, but not all the users of that role WILL use webmail. This means when a user of a particular role wants to edit their account settings, they are stuck because this field is mandatory, and they don't have an email address for it.

Is there a workaround (nope...I am NOT a php coder).

Comments

oadaeh’s picture

You could try changing line 261 of basic_webmail.module from

'#required'      => TRUE,

to

'#required'      => FALSE,

or just deleting it, and see if that works for you.

ycimlynn’s picture

Simple!
Thank you so much!

By the way...awesome (and well needed) module.

ycimlynn’s picture

Status: Active » Closed (fixed)

Closing