You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Whenever you try to register a user, just supply Jarivs with the data and the slug of the role which you want to assign to this user
78
+
Whenever you try to register a user, just supply Jarivs with the data and the slug of the role which you want to assign to this user and if you wish to activate this user, pass the third argument
79
79
```bash
80
-
Jarvis::registerWithRole($data,'user')
80
+
Jarvis::registerWithRole($data,'user',true)
81
81
```
82
82
####4.2 Login A User
83
83
84
84
Logging a user is also an easy thing to do, just pass the data the user tries to attempt with , It can be username/email and password or whatever. Then if you want to remember the user , pass the second argument with true.