Slovand commited on
Commit
26a79c1
·
verified ·
1 Parent(s): 3d56f0f

Update auth.py

Browse files
Files changed (1) hide show
  1. auth.py +2 -2
auth.py CHANGED
@@ -1,4 +1,4 @@
1
- # auth.py - COMPLETE VERSION FOR HUGGING FACE
2
 
3
  from flask import Blueprint, request, jsonify, session, redirect, url_for
4
  from werkzeug.security import generate_password_hash, check_password_hash
@@ -159,7 +159,7 @@ def google_callback():
159
  print(f"Error during Google OAuth: {e}")
160
  return redirect(url_for('login_page') + '?error=exception')
161
 
162
- # ============ REGISTRATION (WITH CODE DIRECTLY) ============
163
 
164
  @auth_bp.route('/api/auth/register', methods=['POST'])
165
  def register():
 
1
+ # auth.py - COMPLETE VERSION
2
 
3
  from flask import Blueprint, request, jsonify, session, redirect, url_for
4
  from werkzeug.security import generate_password_hash, check_password_hash
 
159
  print(f"Error during Google OAuth: {e}")
160
  return redirect(url_for('login_page') + '?error=exception')
161
 
162
+ # ============ REGISTRATION ============
163
 
164
  @auth_bp.route('/api/auth/register', methods=['POST'])
165
  def register():