Commit e51c3686 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Set teachers grade to 'no student anymore' on first oauth login

parent d9139f24
Pipeline #398 passed with stages
in 16 minutes and 49 seconds
......@@ -442,7 +442,7 @@ impl MedalConnection for Connection {
&csrf_token,
&now,
&false,
&0,
&(if is_teacher {255} else {0}),
&is_teacher,
&foreign_id,
&firstname,
......
......@@ -538,7 +538,7 @@ impl MedalConnection for Connection {
&csrf_token,
&now,
&false,
&0,
&(if is_teacher { 255 } else { 0 }),
&is_teacher,
&foreign_id,
&firstname,
......
......@@ -525,7 +525,7 @@ impl MedalConnection for Connection {
&csrf_token,
&now,
&false,
&0,
&(if is_teacher { 255 } else { 0 }),
&is_teacher,
&foreign_id,
&firstname,
......
......@@ -538,7 +538,7 @@ impl MedalConnection for Connection {
&csrf_token,
&now,
&false,
&0,
&(if is_teacher { 255 } else { 0 }),
&is_teacher,
&foreign_id,
&firstname,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment