Improved users, now /create and /edit require user login, changed savepoint() helper

This commit is contained in:
Yusur 2023-01-07 23:04:06 +01:00
parent 83e2c892b3
commit f4d536dc47
9 changed files with 102 additions and 42 deletions

View file

@ -17,18 +17,18 @@
</div>
<div>
<label>{{ T('confirm-password') }}:</label>
<input type="password" name="confirmpassword" />
<input type="password" name="confirm_password" />
</div>
<div>
<label>{{ T('email') }} ({{ T('optional') }}):</label>
<input type="email" name="email" />
<input type="text" name="email" />
</div>
<div>
<input type="checkbox" name="legal" value="1" />
<label>{{ T('have-read-terms').format(T('terms-of-service'), T('privacy-policy')) }}</label>
</div>
<div>
<input type="submit" value="{{ T('login') }}" />
<input type="submit" value="{{ T('sign-up') }}" />
</div>
</form>