SCCapstone / Swearengineers

Math Quizzes
https://math-quizzes-sc.appspot.com
Apache License 2.0
0 stars 0 forks source link

"Not a teacher" error when registering as a teacher: FATAL #75

Closed brandonhostetter closed 7 years ago

brandonhostetter commented 7 years ago

I selected "register" from the home page, then selected the teacher option and entered the following info. My password as also "asdf".

screen shot 2017-04-12 at 11 59 17 pm

Then I got the following error telling me I'm not a teacher. I'm guessing asdf is already a user registered as a student. If that's the case, having some username validation on the account creation page would be nice so a user knows if the username is valid before attempting to create an account that will inevitably fail.

screen shot 2017-04-12 at 11 59 25 pm

EDIT:

screen shot 2017-04-13 at 12 06 02 am

Having all of these types of error message occur before I click "register" would be much nicer than being redirected to another page to display the banner.

jeSager commented 7 years ago

I sent the teacher code to @josemvidal It is teacher1.

I suppose if you could choose your own teacher code it would defeat the purpose of the teacher code.

We'll work on the redirect. Thank you.

josemvidal commented 7 years ago

Please put the account information for the test teacher, both username and password, in your Readme.

I received your emails but, I still don't understand how I am supposed to login as a teacher.

jeSager commented 7 years ago

There is a teacher authentication code that is required. It is

teacher1

You can create any teacher you want with that code. I'll put it in the README.

josemvidal commented 7 years ago

I don't know what "teacher authentication code" means.

I tried to login with username=teacher1 and an empty password, it failed.

josemvidal commented 7 years ago
math_quizzes
jeSager commented 7 years ago

that is only for creating an account


From: Jose M Vidal notifications@github.com Sent: Thursday, April 13, 2017 1:05 PM To: SCCapstone/Swearengineers Cc: j.e.Sager; State change Subject: Re: [SCCapstone/Swearengineers] "Not a teacher" error when registering as a teacher: FATAL (#75)

I don't know what "teacher authentication code" means.

I tried to login with username=teacher1 and an empty password, it failed.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/SCCapstone/Swearengineers/issues/75#issuecomment-293962241, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUGU5qzBi40OeBBjSP34v0Ya6fDmq8OEks5rvlX1gaJpZM4M8PGQ.

jeSager commented 7 years ago

You are on the wrong screen for creating an account. You are trying to log in.

josemvidal commented 7 years ago
math_quizzes_and_google_hangouts_-_jmvidal_gmail_com
jeSager commented 7 years ago

I see the jquery isn't loading correctly over http. It will work if you delete the https. I will fix it when I can.

jeSager commented 7 years ago

screenshot from 2017-04-13 13-25-47

jeSager commented 7 years ago

FIXED OVER HTTPS

screenshot from 2017-04-13 13-37-44

josemvidal commented 7 years ago

Works now.