adds email login and registration forms

- using flask-wtf forms to create login and registration
- saves and compares input data with database
- generates user if need-be
- same user form as google user
This commit is contained in:
2020-04-23 17:11:23 +00:00
parent f156d38739
commit a071193959
8 changed files with 150 additions and 16 deletions

17
server/template/base.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="/static/css/main.css">
<title>Index</title>
</head>
<body>
{% block content %}{% endblock %}
</body>
</html>