Skip to content

Commit

Permalink
Remove password field
Browse files Browse the repository at this point in the history
  • Loading branch information
vtalos committed Jan 3, 2025
1 parent 0f26771 commit f89e061
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/src/main/java/com/example/estiaseek/data/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ data class User(
val name: String,
@ColumnInfo(name = "Email")
val email: String,
@ColumnInfo(name = "Password")
val password: String,
@ColumnInfo(name = "Bio")
val bio: String,
@ColumnInfo(name = "Experience")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,10 @@ class CreateApplicantViewModel(private val usersRepository: UsersRepository) : V
location: String,
experience: String
) {
// Generate a random password for now since it's not in the UI yet
val randomPassword = UUID.randomUUID().toString()

val user = User(
name = name,
email = email,
password = randomPassword,
bio = bio,
experience = experience,
location = location,
Expand Down

0 comments on commit f89e061

Please sign in to comment.