Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilRaikar17 committed Feb 19, 2023
1 parent 04d923c commit ee17ae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e_invoice/application/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def login():
@login_required
def logout():
logout_user()
return redirect(url_for('login'))
return redirect(url_for('.login'))


@invoice.route('/generate_invoice')
Expand Down
2 changes: 1 addition & 1 deletion e_invoice/application/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<h4 class="modal-title">InGen</h4>
</div>
<div class="modal-body">
<form action="{{ url_for('invoice..login') }}" method="post">
<form action="{{ url_for('invoice.login') }}" method="post">

<div class="form-group">
<input type="text" class="form-control" name="username" placeholder="Username" required="required">
Expand Down

0 comments on commit ee17ae0

Please sign in to comment.