Guest User

Untitled

a guest
May 21st, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. class PersonService {
  2. this: PersonDAO with UtilityDAO =>
  3.  
  4. def login(name:String, password:String) = {
  5. if (checkPassword(name,password))
  6. val token = recordLogin(name)
  7. Some(token)
  8. else
  9. None
  10. }
  11. }
Add Comment
Please, Sign In to add comment