Can changing login to empty

Found a bug? Tell us!!
Post Reply
milo_ose
Posts: 2
Joined: Fri Dec 16, 2011 11:25 am

Can changing login to empty

Post by milo_ose »

hi, i found a bug when i went to change my admin user name.
If you keep empty you're username field and press "enter" we have an username with null value.
If you disconnect and want to login you can't. I think you must check username field is'nt Null when editing user informations.

screens(click to full width):

pannel admin after change username : log as {}
Image

db field username empty:
Image

serendipity version 1.6
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Can changing login to empty

Post by garvinhicking »

Hi!

Yes, currently we have no validation for empty fields. I agree that we could add it for the username, even though I wonder why someone would set a username to an empty string and then wonder he can't login ;)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
milo_ose
Posts: 2
Joined: Fri Dec 16, 2011 11:25 am

Re: Can changing login to empty

Post by milo_ose »

I don't want set it empty but a miss-click is posssible (an example? -> me this morning). :oops:
Post Reply