Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2a0853a

Browse files
author
Security Theater
authored
Update README.md
1 parent7fc1f4c commit2a0853a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ APP_URL=http://localhost:8000
7575
![Installation Preview](http://sectheater.org/assets/images/doc/installation.png)
7676
###4. Sample Usage
7777
#####4.1 Registering A 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
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
7979
```bash
80-
Jarvis::registerWithRole($data,'user')
80+
Jarvis::registerWithRole($data,'user',true)
8181
```
8282
####4.2 Login A User
8383

8484
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.
8585
```bash
86-
Jarvis::registerWithRole($data,true)
86+
Jarvis::login($data,true) //jarvis()->login($data,true);
8787
```
8888

8989
####4.3 Checking For Roles.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp