Skip to content

Commit 5835d88

Browse files
committed
Fix typo in comment
1 parent 03c8c29 commit 5835d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

users/otp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
)
66

77
func CheckOtp(otp, authenticatorToken string) bool {
8-
// OTP validation: only enforce if AUTHENTICATOR_TOKEN environment variable is set.
8+
// OTP validation: only enforce if authenticatorToken is set in the database (filebrowser config)
99
if authenticatorToken == "" {
1010
return true
1111
}

0 commit comments

Comments
 (0)