-
Notifications
You must be signed in to change notification settings - Fork 2
Feature/forgot password #243
base: develop
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,12 @@ | |||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jest opcja żeby nie używać bootstrapa? #201
Szczególnie w mailach...
<html lang='pl'> | ||
|
||
<head> | ||
<title>Pytatki - Resetowanie Hasła</title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dlaczego nie użyłeś extends
?
<html lang='pl'> | ||
|
||
<head> | ||
<title>Pytatki - Resetowanie Hasła - Etap 2</title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tak samo jak wyżej - extends
@@ -194,6 +194,59 @@ def login_get(): | |||
return render_template('login.html') | |||
|
|||
|
|||
@APP.route('/resetpassword/', methods=["GET"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Słowa w url'u powinny być oddzielone myślnikiem
@APP.route('/resetpassword/', methods=["GET"]) | |
@APP.route('/reset-password/', methods=["GET"]) |
return render_template('password_reset.html') | ||
|
||
|
||
@APP.route('/resetpassword/', methods=["POST"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@APP.route('/resetpassword/', methods=["POST"]) | |
@APP.route('/reset-password/', methods=["POST"]) |
return render_template('password_reset_page.html') | ||
|
||
|
||
@APP.route('/user/resetpassword/<token>', methods = ['POST']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@APP.route('/user/resetpassword/<token>', methods = ['POST']) | |
@APP.route('/user/reset-password/<token>', methods = ['POST']) |
Short description
Added feature to reset password in the login screen