"The given email already exists. ..." in the SmartHome UI

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
Phantom
Posts: 9
Joined: 10 Jan 2016 03:10

"The given email already exists. ..." in the SmartHome UI

Post by Phantom »

When I try to change something in a user profile (e.g. language or profile color) with the SmartHome UI and press the [Save] button I always get the message "The given email already exists. Please use a different email.". It is not really necessary to change something, just klick the [Save] button to get the message.

It sound like if it would try to create the user again instead of updating it.
Screen Shot 2016-01-12 at 16.11.55.png
Screen Shot 2016-01-12 at 16.11.55.png (90.17 KiB) Viewed 8179 times
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: "The given email already exists. ..." in the SmartHome U

Post by pz1 »

Reported on Github Issue 90
viper384
Posts: 42
Joined: 18 Feb 2015 05:25

Re: "The given email already exists. ..." in the SmartHome U

Post by viper384 »

+1 Well described bug report by poster. Now confirmed it effects multiple users.
User avatar
ronie
Posts: 58
Joined: 29 Jun 2015 09:50

Re: "The given email already exists. ..." in the SmartHome U

Post by ronie »

And only the user you are trying to edit has this email adress?

Unfortunately it seems that adding a new user doesn't check if the given email adress does alredy exist. I'll change that ASAP.

Meanwhile please check your users and go for sure that they have different email adresses.

Btw. as admin user you are allowed to change/reset users login and password so you don't necessarily need to add an email for each of them ;)

Note: Adding an email adress is optional. It allows you to reset a forgotten password of an user account. But to enable this it is necessary to use unique email adresses for each user.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: "The given email already exists. ..." in the SmartHome U

Post by pz1 »

@ronie Don't know if your question is address to me
Anyhow
For me in Issue 90, It was the only email address that I tried to sepcify. Nothing to do with other users.
Phantom
Posts: 9
Joined: 10 Jan 2016 03:10

Re: "The given email already exists. ..." in the SmartHome U

Post by Phantom »

@ronie
You are right. My administrator and my regular user account had the same email address. After I removed the one from my regular user I could update both accounts again. Thanks for that hint.
Raspberry Pi 2 (Raspbian Jessie Lite), RaZberry ZM5202, Z-Way 2.2.1
Post Reply