Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function YOURMODULENAME_form_alter(&$form, &$form_state, $form_id) {
- if ($form_id == 'user_login_block' || $form_id == 'user_login') {
- $form['name']['#suffix'] = '@mycompany.com';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement