Upgrade dependencies
This commit is contained in:
parent
e28c582507
commit
deab6d7962
@ -1,42 +0,0 @@
|
|||||||
{% extends 'layouts/base.njk' %}
|
|
||||||
{% import 'macros.njk' as macros %}
|
|
||||||
|
|
||||||
{% set title = 'Authentication / Registration' %}
|
|
||||||
{% set decription = 'Join ' + app.name + ' and share your files!' %}
|
|
||||||
{% set h1 = 'Authentication and registration' %}
|
|
||||||
|
|
||||||
{% block body %}
|
|
||||||
<div class="container">
|
|
||||||
<div class="panel">
|
|
||||||
{% if register_confirm_email %}
|
|
||||||
<form action="/auth" method="POST" id="register-form">
|
|
||||||
<h2>Register</h2>
|
|
||||||
{{ macros.message('question', 'Do you wish to create a new account with ' + register_confirm_email + '?', false, false) }}
|
|
||||||
{{ macros.message('warning', 'If you already have an account, please log in with your existing email first and then add your new email in the Account page.', false, true) }}
|
|
||||||
<input type="hidden" name="email" value="{{ register_confirm_email }}">
|
|
||||||
<input type="hidden" name="confirm_register" value="confirm">
|
|
||||||
|
|
||||||
<div class="form-field">
|
|
||||||
<div class="form-display">Email: {{ register_confirm_email }}</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<a href="/auth" class="button transparent">Go back</a>
|
|
||||||
<button type="submit" class="primary">Register</button>
|
|
||||||
|
|
||||||
{{ macros.csrf(getCSRFToken) }}
|
|
||||||
</form>
|
|
||||||
{% else %}
|
|
||||||
<form action="/auth" method="POST" id="login-form">
|
|
||||||
<h2>Log in or register</h2>
|
|
||||||
{# {{ macros.message('info', 'If we don\'t find your email address in our database, you will be able to register.', false, true) }}#}
|
|
||||||
<div class="input-field">
|
|
||||||
{{ macros.field(_locals, 'email', 'email', query.email or '', 'Your email address', "If we don't find your email address in our database, you will be able to register.", 'required') }}
|
|
||||||
</div>
|
|
||||||
<button type="submit">Authenticate</button>
|
|
||||||
|
|
||||||
{{ macros.csrf(getCSRFToken) }}
|
|
||||||
</form>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
56
yarn.lock
56
yarn.lock
@ -1238,9 +1238,9 @@
|
|||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*":
|
||||||
version "14.0.22"
|
version "14.0.23"
|
||||||
resolved "https://registry.toot.party/@types%2fnode/-/node-14.0.22.tgz#23ea4d88189cec7d58f9e6b66f786b215eb61bdc"
|
resolved "https://registry.toot.party/@types%2fnode/-/node-14.0.23.tgz#676fa0883450ed9da0bb24156213636290892806"
|
||||||
integrity sha512-emeGcJvdiZ4Z3ohbmw93E/64jRzUHAItSHt8nF7M4TGgQTiWqFVGB8KNpLGFmUHmHLvjvBgFwVlqNcq+VuGv9g==
|
integrity sha512-Z4U8yDAl5TFkmYsZdFPdjeMa57NOvnaf1tljHzhouaPEp7LCj2JKkejpI1ODviIAQuW4CcQmxkQ77rnLsOOoKw==
|
||||||
|
|
||||||
"@types/node@^13.13.2":
|
"@types/node@^13.13.2":
|
||||||
version "13.13.14"
|
version "13.13.14"
|
||||||
@ -2320,9 +2320,9 @@ camelcase@^6.0.0:
|
|||||||
integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==
|
integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==
|
||||||
|
|
||||||
caniuse-lite@^1.0.30001093:
|
caniuse-lite@^1.0.30001093:
|
||||||
version "1.0.30001097"
|
version "1.0.30001099"
|
||||||
resolved "https://registry.toot.party/caniuse-lite/-/caniuse-lite-1.0.30001097.tgz#1129c40c9f5ee3282158da08fd915d301f4a9bd8"
|
resolved "https://registry.toot.party/caniuse-lite/-/caniuse-lite-1.0.30001099.tgz#540118fcc6842d1fde62f4ee5521d1ec6afdb40e"
|
||||||
integrity sha512-TeuSleKt/vWXaPkLVFqGDnbweYfq4IaZ6rUugFf3rWY6dlII8StUZ8Ddin0PkADfgYZ4wRqCdO2ORl4Rn5eZIA==
|
integrity sha512-sdS9A+sQTk7wKoeuZBN/YMAHVztUfVnjDi4/UV3sDE8xoh7YR12hKW+pIdB3oqKGwr9XaFL2ovfzt9w8eUI5CA==
|
||||||
|
|
||||||
capture-exit@^2.0.0:
|
capture-exit@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
@ -3431,9 +3431,9 @@ ee-first@1.1.1:
|
|||||||
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
|
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
|
||||||
|
|
||||||
electron-to-chromium@^1.3.488:
|
electron-to-chromium@^1.3.488:
|
||||||
version "1.3.496"
|
version "1.3.497"
|
||||||
resolved "https://registry.toot.party/electron-to-chromium/-/electron-to-chromium-1.3.496.tgz#3f43d32930481d82ad3663d79658e7c59a58af0b"
|
resolved "https://registry.toot.party/electron-to-chromium/-/electron-to-chromium-1.3.497.tgz#de00f2f2f44c258c4577fbfbd5124b94c18bfa44"
|
||||||
integrity sha512-TXY4mwoyowwi4Lsrq9vcTUYBThyc1b2hXaTZI13p8/FRhY2CTaq5lK+DVjhYkKiTLsKt569Xes+0J5JsVXFurQ==
|
integrity sha512-sPdW5bUDZwiFtoonuZCUwRGzsZmKzcLM0bMVhp6SMCfUG+B3faENLx3cE+o+K0Jl+MPuNA9s9cScyFjOlixZpQ==
|
||||||
|
|
||||||
elliptic@^6.0.0, elliptic@^6.5.2:
|
elliptic@^6.0.0, elliptic@^6.5.2:
|
||||||
version "6.5.3"
|
version "6.5.3"
|
||||||
@ -5583,7 +5583,7 @@ jest-snapshot@^26.1.0:
|
|||||||
pretty-format "^26.1.0"
|
pretty-format "^26.1.0"
|
||||||
semver "^7.3.2"
|
semver "^7.3.2"
|
||||||
|
|
||||||
jest-util@^26.1.0:
|
jest-util@26.x, jest-util@^26.1.0:
|
||||||
version "26.1.0"
|
version "26.1.0"
|
||||||
resolved "https://registry.toot.party/jest-util/-/jest-util-26.1.0.tgz#80e85d4ba820decacf41a691c2042d5276e5d8d8"
|
resolved "https://registry.toot.party/jest-util/-/jest-util-26.1.0.tgz#80e85d4ba820decacf41a691c2042d5276e5d8d8"
|
||||||
integrity sha512-rNMOwFQevljfNGvbzNQAxdmXQ+NawW/J72dmddsK0E8vgxXCMtwQ/EH0BiWEIxh0hhMcTsxwAxINt7Lh46Uzbg==
|
integrity sha512-rNMOwFQevljfNGvbzNQAxdmXQ+NawW/J72dmddsK0E8vgxXCMtwQ/EH0BiWEIxh0hhMcTsxwAxINt7Lh46Uzbg==
|
||||||
@ -6202,14 +6202,6 @@ methods@~1.1.2:
|
|||||||
resolved "https://registry.toot.party/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
|
resolved "https://registry.toot.party/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
|
||||||
integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=
|
integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=
|
||||||
|
|
||||||
micromatch@4.x, micromatch@^4.0.2:
|
|
||||||
version "4.0.2"
|
|
||||||
resolved "https://registry.toot.party/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"
|
|
||||||
integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==
|
|
||||||
dependencies:
|
|
||||||
braces "^3.0.1"
|
|
||||||
picomatch "^2.0.5"
|
|
||||||
|
|
||||||
micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4:
|
micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4:
|
||||||
version "3.1.10"
|
version "3.1.10"
|
||||||
resolved "https://registry.toot.party/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
|
resolved "https://registry.toot.party/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
|
||||||
@ -6229,6 +6221,14 @@ micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4:
|
|||||||
snapdragon "^0.8.1"
|
snapdragon "^0.8.1"
|
||||||
to-regex "^3.0.2"
|
to-regex "^3.0.2"
|
||||||
|
|
||||||
|
micromatch@^4.0.2:
|
||||||
|
version "4.0.2"
|
||||||
|
resolved "https://registry.toot.party/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"
|
||||||
|
integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==
|
||||||
|
dependencies:
|
||||||
|
braces "^3.0.1"
|
||||||
|
picomatch "^2.0.5"
|
||||||
|
|
||||||
miller-rabin@^4.0.0:
|
miller-rabin@^4.0.0:
|
||||||
version "4.0.1"
|
version "4.0.1"
|
||||||
resolved "https://registry.toot.party/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
|
resolved "https://registry.toot.party/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
|
||||||
@ -8054,9 +8054,9 @@ regexpu-core@^4.7.0:
|
|||||||
unicode-match-property-value-ecmascript "^1.2.0"
|
unicode-match-property-value-ecmascript "^1.2.0"
|
||||||
|
|
||||||
registry-auth-token@^4.0.0:
|
registry-auth-token@^4.0.0:
|
||||||
version "4.1.1"
|
version "4.2.0"
|
||||||
resolved "https://registry.toot.party/registry-auth-token/-/registry-auth-token-4.1.1.tgz#40a33be1e82539460f94328b0f7f0f84c16d9479"
|
resolved "https://registry.toot.party/registry-auth-token/-/registry-auth-token-4.2.0.tgz#1d37dffda72bbecd0f581e4715540213a65eb7da"
|
||||||
integrity sha512-9bKS7nTl9+/A1s7tnPeGrUpRcVY+LUh7bfFgzpndALdPfXQBfQV77rQVtqgUV3ti4vc/Ik81Ex8UJDWDQ12zQA==
|
integrity sha512-P+lWzPrsgfN+UEpDS3U8AQKg/UjZX6mQSJueZj3EK+vNESoqBSpBUD3gmu4sF9lOsjXWjF11dQKUqemf3veq1w==
|
||||||
dependencies:
|
dependencies:
|
||||||
rc "^1.2.8"
|
rc "^1.2.8"
|
||||||
|
|
||||||
@ -9264,17 +9264,17 @@ trim-repeated@^1.0.0:
|
|||||||
glob "^7.1.2"
|
glob "^7.1.2"
|
||||||
|
|
||||||
ts-jest@^26.1.1:
|
ts-jest@^26.1.1:
|
||||||
version "26.1.1"
|
version "26.1.2"
|
||||||
resolved "https://registry.toot.party/ts-jest/-/ts-jest-26.1.1.tgz#b98569b8a4d4025d966b3d40c81986dd1c510f8d"
|
resolved "https://registry.toot.party/ts-jest/-/ts-jest-26.1.2.tgz#dd2e832ffae9cb803361483b6a3010a6413dc475"
|
||||||
integrity sha512-Lk/357quLg5jJFyBQLnSbhycnB3FPe+e9i7ahxokyXxAYoB0q1pPmqxxRPYr4smJic1Rjcf7MXDBhZWgxlli0A==
|
integrity sha512-V4SyBDO9gOdEh+AF4KtXJeP+EeI4PkOrxcA8ptl4o8nCXUVM5Gg/8ngGKneS5BsZaR9DXVQNqj9k+iqGAnpGow==
|
||||||
dependencies:
|
dependencies:
|
||||||
bs-logger "0.x"
|
bs-logger "0.x"
|
||||||
buffer-from "1.x"
|
buffer-from "1.x"
|
||||||
fast-json-stable-stringify "2.x"
|
fast-json-stable-stringify "2.x"
|
||||||
|
jest-util "26.x"
|
||||||
json5 "2.x"
|
json5 "2.x"
|
||||||
lodash.memoize "4.x"
|
lodash.memoize "4.x"
|
||||||
make-error "1.x"
|
make-error "1.x"
|
||||||
micromatch "4.x"
|
|
||||||
mkdirp "1.x"
|
mkdirp "1.x"
|
||||||
semver "7.x"
|
semver "7.x"
|
||||||
yargs-parser "18.x"
|
yargs-parser "18.x"
|
||||||
@ -9839,9 +9839,9 @@ widest-line@^3.1.0:
|
|||||||
string-width "^4.0.0"
|
string-width "^4.0.0"
|
||||||
|
|
||||||
wms-core@^0:
|
wms-core@^0:
|
||||||
version "0.13.8"
|
version "0.13.9"
|
||||||
resolved "https://registry.toot.party/wms-core/-/wms-core-0.13.8.tgz#bbd3d90c573c3df41607c48656bbeb417e6c1327"
|
resolved "https://registry.toot.party/wms-core/-/wms-core-0.13.9.tgz#a86fc5764663d2afe7e70b416e061a83dcb458c0"
|
||||||
integrity sha512-E/neyduIa+b1b4FEROXVrwbZsu0jOcgqhW5jk1LIHdxACqxbdKjSqpGXWATjCpiTmnBn7r4KQOS96y/6AwfcDg==
|
integrity sha512-AkKKXEWUQGSkZ43hGZ3kziZTD2p0xO4Bj7szF8uSWxSj3leuGac+thDSPk/OJz53s1SQ89Zq2MjVFNh19sjPeQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
argon2 "^0.26.2"
|
argon2 "^0.26.2"
|
||||||
compression "^1.7.4"
|
compression "^1.7.4"
|
||||||
|
Loading…
Reference in New Issue
Block a user