commit 8d60cacdd3cb8e4033c8fdde5575bd45ce969660
parent 0b16a4539c25178ee44aef90eb638c03174ebc1a
Author: Amit Dutta <amitdutta4255@gmail.com>
Date: Tue, 20 Jan 2026 13:38:28 +0530
Merge branch 'main' of https://github.com/notamitgamer/ada-web
Diffstat:
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/LICENSE b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 AMIT DUTTA
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/backend.py b/backend.py
@@ -108,7 +108,7 @@ def verify_token(auth_header):
try:
decoded_token = auth.verify_id_token(token)
user_id = decoded_token['uid']
- print(f"✅ Token verified for user: {user_id}")
+ # print(f"✅ Token verified for user: {user_id}") # verbose
return user_id
except auth.InvalidIdTokenError:
print("❌ Invalid ID token - token is malformed or invalid")