mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-18 02:48:50 +00:00
Add more informative error response on incorrect CAPTCHA
This commit is contained in:
@@ -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