Skip to content

Commit

Permalink
Fix #897: Username is shown as null on login
Browse files Browse the repository at this point in the history
  • Loading branch information
etlhsu committed Oct 26, 2018
1 parent aa20e9f commit cb6ce4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/org/mifos/mobilebanking/models/User.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.mifos.mobilebanking.models

import com.google.gson.annotations.SerializedName
import java.util.ArrayList

/**
Expand All @@ -11,6 +12,7 @@ data class User (

var userId: Long = 0,
var isAuthenticated: Boolean = false,
@SerializedName(value = "username")
var userName: String? = null,
var base64EncodedAuthenticationKey: String? = null,
var permissions: List<String> = ArrayList()
Expand Down

0 comments on commit cb6ce4e

Please sign in to comment.