orzubalsky / tradeschool

Trade School is an alternative school that runs on barter
Other
16 stars 5 forks source link

"Change Password" function not working #152

Closed lpedante closed 10 years ago

lpedante commented 10 years ago

Teacher's are having trouble getting into their accounts. they use the "Forgot Password" link, then get the Reset link and reset their password. Then, when they go to log in using the password they just created, it still locks them out. The correct usernames are being used so I don't know what's causing the problem..

image

dnephin commented 10 years ago

Hello,

I tried this out with a local copy of the code. I believe the issue is not that Teachers can't change their password, the issue is that Teachers are not created with is_staff=True which is what lets someone login to admin.

From the comments it sounds like this was done on purpose, and only organizers are able to login. I'll let someone more familiar with that comment on it.

It should be an easy enough change if we wanted to add is_staff=True for teachers as well.

lpedante commented 10 years ago

Thank you! I misunderstood the functionality. Since teachers aren't able to log in, you can close this ticket. Thank you!

Leanne Pedante Design http://www.leannepedante.com/ | 323-532-0406 Trade School Los Angeles http://tradeschool.coop/losangeles/ | TSLA on FBhttps://www.facebook.com/tradeschoolLA

On Fri, Apr 18, 2014 at 12:19 PM, Daniel Nephin notifications@github.comwrote:

Hello,

I tried this out with a local copy of the code. I believe the issue is not that Teachers can't change their password, the issue is that Teachers are not created with is_staff=True which is what lets someone login to admin.

From the comments it sounds like this was done on purpose, and only organizers are able to login. I'll let someone more familiar with that comment on it.

It should be an easy enough change if we wanted to add is_staff=True for teachers as well.

— Reply to this email directly or view it on GitHubhttps://github.com/orzubalsky/tradeschool/issues/152#issuecomment-40836510 .

dnephin commented 10 years ago

@lpedante , I am not a collaborator (on the github project), so I can't close this ticket. I believe you can close it though

lpedante commented 10 years ago

Sorry about that, Daniel! I'll close the ticket. Thank you!

Leanne Pedante Design http://www.leannepedante.com/ | 323-532-0406 Trade School Los Angeles http://tradeschool.coop/losangeles/ | TSLA on FBhttps://www.facebook.com/tradeschoolLA

On Sun, Apr 20, 2014 at 2:17 PM, Daniel Nephin notifications@github.comwrote:

@lpedante https://github.com/lpedante , I am not a collaborator (on the github project), so I can't close this ticket. I believe you can close it though

— Reply to this email directly or view it on GitHubhttps://github.com/orzubalsky/tradeschool/issues/152#issuecomment-40905157 .

dnephin commented 10 years ago

Thank you!