Skip to content

Commit

Permalink
adicionado arquivos e reperando a estrutura do projecto
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaDaCosta committed Dec 23, 2023
1 parent e0890a2 commit 8f1c73c
Show file tree
Hide file tree
Showing 12 changed files with 233 additions and 60 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added LOADINGPAGE/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file modified LOADINGPAGE/controllers/__pycache__/default.cpython-39.pyc
Binary file not shown.
7 changes: 3 additions & 4 deletions LOADINGPAGE/controllers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ def login():
try:
if emaill==emaildicl:
user = auth.sign_in_with_email_and_password(emaill, senhal)
session['user']=emaill
return redirect(f'/app/aluno/{n[0]}{n[len(n) - 1]}')

session['user']=emaildicl
return abort(404, erro)
except:
abort(403,'erro')
return redirect(f'/app/aluno/{n[0]}{n[len(n) - 1]}')
return render_template('login.html')

@IMAG.route('/logout')
Expand Down
Loading

0 comments on commit 8f1c73c

Please sign in to comment.