mswysocki / Madison-Student-Apartment-Finder

4 stars 1 forks source link

Comment about admin login #34

Closed kongyang80 closed 12 years ago

kongyang80 commented 12 years ago

Severity: Low

Since I figured what the admin email without looking at the code, I was trying to log in as admin.

When you enter an invalid login, it brings you to the Sign in page. If I enter the admin email in the top bar with no password, it won't let me in. If I type in the admin email with no password in the Sign in page, I get in. Weird. Are the two "Sign In" button doing different authentication? Did you guys remove the admin password?

aeggum commented 12 years ago

Hmmm. I thought they were the same.

Thanks, weird. I'll take a look at this when I can. May just be a misplaced call to a controller.

Appreciated.

aeggum commented 12 years ago

I reset the password of that admin and it looks like the you cannot log-in without a password anymore, so that's good. But there is still something off. Somehow the password had been reset to nothing (which shouldn't be allowed), but the main page login functionality isn't the same as the specific log-in page.

I'll investigate it when I get the chance.

aeggum commented 12 years ago

It looks like this was just a case of the validations in our model no longer holding, due to a bug elsewhere. It cannot be reproduced as of now, the validations are fixed.