diff --git a/src/forest/auth/routes.py b/src/forest/auth/routes.py index e5264eb..4d347dd 100644 --- a/src/forest/auth/routes.py +++ b/src/forest/auth/routes.py @@ -149,7 +149,7 @@ def register(): db.session.add(user) db.session.commit() token = user.generate_confirmation_token() - send_email(user.email, 'Потвърдете Вашата регистрация', 'auth/email/confirm', user=user, token=token) + send_email(user.email, 'ForestNet Registration', 'auth/email/confirm', user=user, token=token) #notify admin newip = request.remote_addr if request.headers.getlist("X-Forwarded-For"): diff --git a/src/forest/settings/routes.py b/src/forest/settings/routes.py index a5718a0..3895918 100644 --- a/src/forest/settings/routes.py +++ b/src/forest/settings/routes.py @@ -36,8 +36,5 @@ def profile(): form.phone.data = current_user.phone form.twofactor.data = current_user.twofactor - wallet = "%.2f" % round(current_user.wallet, 3) - #current_app.logger.info('[{}] wallet: {}'.format(current_user.email, wallet)) - return render_template('settings/profile.html', page=page, form=form, cuser=current_user)