Tags:
create new tag
view all tags

Question

I would like to modify registration so that the user only need enter their email name in the registration form and then the registration process appends the "@domain.com" automatically. Editing this form is trivial. I just don't see how to modify the email process to do the "@domain.com" suffix.

Specifically - I would like to know how to take the email string from the email registration table and concatenate this with the suffix "@domain.com" into the Email variable so that everything else still works properly. My TWiki site is for internal collaberation only and runs only within our corporate "firewall".

Additionally - I need to know how to disable the ability to change or edit email addresses to keep this from being altered.

This would increase security by constraining all emails to corporate email which would be good as all most all folks can access this site through VPN. LDAP is not an option.

I have TWiki 4.04 deployed - It is fantastic. I have nearly 100 pages with 60 attachements already in less than a week! Thank you all for such an incredible tool...

Thank you very much!

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Ubuntu 6.06
Web server: Apache 2.0.55
Perl version: 5.8.7
Client OS: various
Web Browser: Firefox 1.5.05
Categories: Registration

-- RobHughes - 31 Jul 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

You could always auto-complete the email address using a fragment of JavaScript. You could constrain the ChangeEmailAddress page the same way. To change it in the code, you would need to hack a lot of lib/TWiki/UI/Register.pm. I really can't recommend it.

-- CrawfordCurrie - 21 Aug 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-08-21 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.