Last active
September 21, 2017 13:13
-
-
Save timoweiss/8bac3170ebee7883d8d667d04cc58d97 to your computer and use it in GitHub Desktop.
seneca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
seneca.act('role:users,cmd:login,email:abc@abc.de,password:secret'); | |
seneca.act('role:users,cmd:login', { email: 'abc@abc.de', password: 'secret' }); | |
seneca.act({ role: 'users', cmd: 'login' }, { email: 'abc@abc.de', password: 'secret' }) | |
seneca.act({}, { role: 'users', cmd: 'login', email: 'abc@abc.de', password: 'secret' }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment