We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c8c29 commit 5835d88Copy full SHA for 5835d88
users/otp.go
@@ -5,7 +5,7 @@ import (
5
)
6
7
func CheckOtp(otp, authenticatorToken string) bool {
8
- // OTP validation: only enforce if AUTHENTICATOR_TOKEN environment variable is set.
+ // OTP validation: only enforce if authenticatorToken is set in the database (filebrowser config)
9
if authenticatorToken == "" {
10
return true
11
}
0 commit comments