Skip to content

Commit 0383ac0

Browse files
Update README.md
1 parent a39741c commit 0383ac0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,22 @@ Function only works after login.
230230
keyauthapp.ban()
231231
```
232232

233+
## **Enable Two Factor Authentication (2fa)**
234+
235+
Enable two factor authentication (2fa) on a client account.
236+
237+
```py
238+
keyauthapp.enable2fa()
239+
```
240+
241+
## **Disable Two Factor Authentication (2fa)**
242+
243+
Disable two factor authentication (2fa) on a client account.
244+
245+
```py
246+
keyauthapp.disable2fa()
247+
```
248+
233249
## **Logout session**
234250

235251
Logout the users session and close the application.

0 commit comments

Comments
 (0)