daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest May 21st, 2018 121 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top