Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class PersonService {
- this: PersonDAO with UtilityDAO =>
- def login(name:String, password:String) = {
- if (checkPassword(name,password))
- val token = recordLogin(name)
- Some(token)
- else
- None
- }
- }
Add Comment
Please, Sign In to add comment