Make datastore find_user method accept different params so a user can be retrieved by other such things such as a confirmation token

This commit is contained in:
Matt Wright
2012-05-11 13:57:35 -04:00
parent 2b587f7047
commit 1a8e6f5cb6
6 changed files with 56 additions and 31 deletions
+7
View File
@@ -0,0 +1,7 @@
<form action="{{ url_for('flask_security.register') }}" method="POST" name="register_form">
{{ form.hidden_tag() }}
{{ form.email.label }} {{ form.email }}<br/>
{{ form.password.label }} {{ form.password }}<br/>
{{ form.password_confirm.label }} {{ form.password_confirm }}<br/>
{{ form.submit }}
</form>