forked from midou/invidious
Add more informative error response on incorrect CAPTCHA
This commit is contained in:
1 parent
d185ba84bf
commit
cd482cfd89
2 files changed
+7
-2
No files matched your search
@@ -251,7 +251,7 @@ def validate_response(challenge, token, user_id, operation, key, db)
|
||||
end
|
||||
|
||||
if challenge_user_id != user_id
|
||||
raise "Invalid token"
|
||||
raise "Invalid user"
|
||||
end
|
||||
|
||||
if expire < Time.now.to_unix
|
||||
|
||||
Reference in new issue
Block a user