Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:45:39 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155528 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: adding users - "the email you entered is already in use" problem  (Read 621 times)
Deb

Offline Offline

Posts: 40


« on: November 12, 2009, 06:23:27 AM »

Hello,

I would imagine this topic has to be discussed somewhere on these boards previously, but after doing quite a number of board searches I do not find the solution.

I upgraded to version 2.8 a couple of days ago.

I have a site I administer where I'm the only one who has access to the full admin area. It's been probably 2 years since I had to do anything in the admin area but now the client needs updates.

I have the new groups set up but the system will not allow me to use the same email address when setting up a new user nor will it allow me to leave the email field blank. I need to use one email addy (MINE - which is also the administrator email addy) but I keep getting an error: "The email you entered is already in use" ... how do I get around this? I really do not want nor need to set up an additional email address for each group since I'm the only one who does the work.

Is it just me who thinks the admin person should be able to use their own same email addy for any work done in the admin area?

Thanks in advance for any & all help.
Deb
Logged

********************
Hope you enjoy your day!
Deb
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3146



WWW
« Reply #1 on: November 12, 2009, 10:27:38 AM »

To use the same email adress, is always a security risc. May be for you ok, but for the other users not. You find nothing in the world wide web, that allow the same email adress for different logins. So sorry that we can't help.

Dietmar

P.S. i hope my english were well enough to understand
Logged

We are human beings - and nobody is perfect at all.
LordDarkman
Development Team
*****
Offline Offline

Posts: 343


WWW
« Reply #2 on: November 12, 2009, 12:23:16 PM »

Other question.. I you want to make 2 groups when you are the only one to admin? For cases like this I have one mail account whitch fetches everymail from *@dummyhost.com. So if I need I make a new email, fetch it and forget about the login. Works fine...

CU Moritz
Logged
pcwacht
AddOn Development
*
Online Online

Posts: 2858



WWW
« Reply #3 on: November 12, 2009, 07:43:32 PM »

File /admin/users/add.php

around line 81:
remove:
Code:
// Check if the email already exists
$results = $database->query("SELECT user_id FROM ".TABLE_PREFIX."users WHERE email = '".$admin->add_slashes($_POST['email'])."'");
if($results->numRows() > 0) {
    if(isset($MESSAGE['USERS']['EMAIL_TAKEN'])) {
        $admin->print_error($MESSAGE['USERS']['EMAIL_TAKEN'], $js_back);
    } else {
        $admin->print_error($MESSAGE['USERS']['INVALID_EMAIL'], $js_back);
    }
}
wich need to be removed after every update!!


Have fun,
John
Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!