Skip to content

Commit 21446bc

Browse files
author
6nz
authored
fix 👌
1 parent 0bcdc81 commit 21446bc

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
@@ -57,9 +57,9 @@ print(f"Current Session Validation Status: {keyauthapp.check()}")
5757
Check if HWID or IP Address is blacklisted. You can add this if you want, just to make sure nobody can open your program for less than a second if they're blacklisted. Though, if you don't mind a blacklisted user having the program for a few seconds until they try to login and register, and you care about having the quickest program for your users, you shouldn't use this function then. If a blacklisted user tries to login/register, the KeyAuth server will check if they're blacklisted and deny entry if so. So the check blacklist function is just auxiliary function that's optional.
5858

5959
```py
60-
if(keyauthapp.checkblacklist()) {
60+
if keyauthapp.checkblacklist():
61+
print("You've been blacklisted from our application.")
6162
os._exit(1)
62-
}
6363
```
6464

6565
**Login with username/password**
@@ -184,7 +184,7 @@ Ban the user and blacklist their HWID and IP Address. Good function to call upon
184184
Function only works after login.
185185

186186
```py
187-
keyauthapp.ban();
187+
keyauthapp.ban()
188188
```
189189

190190
**Server-sided webhooks**

0 commit comments

Comments
 (0)