managed students are spawned in kid mode
This commit is contained in:
parent
49db12c8ef
commit
9e166551aa
|
@ -120,7 +120,8 @@ final class ClasApi(
|
||||||
)
|
)
|
||||||
.orFail(s"No user could be created for $username")
|
.orFail(s"No user could be created for $username")
|
||||||
.flatMap { user =>
|
.flatMap { user =>
|
||||||
coll.insert.one(Student.make(user, clas, teacher.id, managed = true)) inject
|
userRepo.setKid(user, true) >>
|
||||||
|
coll.insert.one(Student.make(user, clas, teacher.id, managed = true)) inject
|
||||||
(user -> password)
|
(user -> password)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
@import 'page';
|
|
||||||
@import '../malware';
|
|
Loading…
Reference in a new issue