Skip to content
Snippets Groups Projects

Localization support

Merged mikrats requested to merge localization-fi into main
+ 4
0
@@ -117,6 +117,10 @@ def get_user_by_email(email: str) -> User:
@bp.route('/register', methods=('GET', 'POST'))
def register():
"""
Function that handels registration and checks if
everything is inputed properly.
"""
if request.method == 'POST':
print("Registering user...")
email = request.form['email']
Loading