Not logged in. · Lost password · Register
Forum: Support Bug reports and troubleshooting RSS
duplicate username
jose #1
Member since May 2007 · 10 posts · Location: Spain
Group memberships: Members
Show profile · Link to this post
Subject: duplicate username
Today we saw a strange think we think  could be a bug. Really it's not a programming bug; well, the scenario is that I'm administrator in my forum, yesterday another user registered with a valid username, but in his account data he changed the username and put the same I have. Obviusly he can't do the same I can because he hasn't my pass, but I'd like to repair this and avoid duplicated usernames. I searched in the forum and I couldn't find  similar case.

I'll try to repair it, but do you know a way to do it easily?

Thanks in advance

José
jose #2
Member since May 2007 · 10 posts · Location: Spain
Group memberships: Members
Show profile · Link to this post
We resolved it altering the table unb1_Users and adding unique index to Name field.

José
Avatar
Yves (Administrator) #3
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #1
Did you allow your users to rename themselves or has that been there already? Because it shouldn't. Also, the uniqueness of a login name should always be enforced, I'll look into it.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
Yves (Administrator) #4
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This was a bug and it is fixed now. When a username is changed, the new name is tested for uniqueness like it is done when registering a new user. It will be included in the next software release. Thanks for the hint!
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
jose #5
Member since May 2007 · 10 posts · Location: Spain
Group memberships: Members
Show profile · Link to this post
Great !!  :-)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 180 ms (91.8 ms) · 62 database queries in 140.6 ms
Current time: 2012-02-07, 20:24:51 (UTC +01:00)