Updated external user service to return email. The email is a new identifier.

This commit is contained in:
Šesták Vít
2016-02-11 09:54:49 +01:00
parent 2d3e3b5164
commit f4fa0ee948
5 changed files with 31 additions and 19 deletions

View File

@@ -1,5 +1,7 @@
package models
import com.mohiva.play.silhouette.api.Identity
import com.mohiva.play.silhouette.api.{LoginInfo, Identity}
case class User(username: String) extends Identity
case class User(username: String) extends Identity{
def loginInfo = LoginInfo(providerID = "credentials-verification", providerKey = username)
}