Login page now disallows visiting a domain other than the school's login page to prevent a successful login from another domain allowing access to the app's content

This commit is contained in:
Deniz Düzgören
2019-09-23 17:23:59 +02:00
parent 088aa90aa4
commit fd40115549
21 changed files with 328 additions and 295 deletions
@@ -0,0 +1,21 @@
package com.denizd.substitutionplan.models
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "subst_table")
internal data class Substitution(
val group: String,
val date: String,
val time: String,
val course: String,
val room: String,
val additional: String,
val teacher: String,
val type: String,
val priority: Int
) {
@PrimaryKey(autoGenerate = true)
var id: Int = 0
}