diff --git a/app/auth/views.py b/app/auth/views.py index 657ef019..aff13813 100644 --- a/app/auth/views.py +++ b/app/auth/views.py @@ -125,9 +125,9 @@ def password_reset(token): title='Password Reset') -@auth.route('/account', methods=['GET', 'POST']) +@auth.route('/settings', methods=['GET', 'POST']) @login_required -def account(): +def settings(): form = ChangeAccountForm() if form.validate_on_submit(): flash('It is just a test, nothing changed.') @@ -142,6 +142,6 @@ def account(): if form.password.data: current_user.password = form.password.data db.session.commit() - return redirect(url_for('auth.account')) - return render_template('auth/account.html.j2', form=form, - title='Account') + return redirect(url_for('auth.settings')) + return render_template('auth/settings.html.j2', form=form, + title='Settings') diff --git a/app/templates/auth/account.html.j2 b/app/templates/auth/settings.html.j2 similarity index 83% rename from app/templates/auth/account.html.j2 rename to app/templates/auth/settings.html.j2 index 50c3e90c..7e54f521 100644 --- a/app/templates/auth/account.html.j2 +++ b/app/templates/auth/settings.html.j2 @@ -2,7 +2,16 @@ {% block page_content %}
+
Lo-fi you probably haven't heard of them etsy leggings raclette kickstarter four dollar toast. Raw denim fingerstache food truck chia health goth synth. Forage man bun intelligentsia freegan PBR&B banh mi asymmetrical chambray.
+