mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Automated deployment: Thu Oct 31 09:13:15 UTC 2019 658161518a
This commit is contained in:
File diff suppressed because one or more lines are too long
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
@@ -765,6 +765,11 @@
|
||||
<div class="admonition fail">
|
||||
<p class="admonition-title"><code>400 Bad Request</code></p>
|
||||
<p>A user already exists with this email.</p>
|
||||
<div class="codehilite"><pre><span></span><span class="p">{</span>
|
||||
<span class="nt">"detail"</span><span class="p">:</span> <span class="s2">"REGISTER_USER_ALREADY_EXISTS"</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
|
||||
</div>
|
||||
<h3 id="post-login"><code>POST /login</code><a class="headerlink" href="#post-login" title="Permanent link">¶</a></h3>
|
||||
<p>Login a user.</p>
|
||||
@@ -788,6 +793,11 @@
|
||||
<div class="admonition fail">
|
||||
<p class="admonition-title"><code>400 Bad Request</code></p>
|
||||
<p>Bad credentials or the user is inactive.</p>
|
||||
<div class="codehilite"><pre><span></span><span class="p">{</span>
|
||||
<span class="nt">"detail"</span><span class="p">:</span> <span class="s2">"LOGIN_BAD_CREDENTIALS"</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
|
||||
</div>
|
||||
<h3 id="post-forgot-password"><code>POST /forgot-password</code><a class="headerlink" href="#post-forgot-password" title="Permanent link">¶</a></h3>
|
||||
<p>Request a reset password procedure. Will generate a temporary token and call the <code>on_after_forgot_password</code> <a href="../../configuration/router/#event-handlers">event handlers</a> if the user exists.</p>
|
||||
@@ -823,6 +833,11 @@
|
||||
<div class="admonition fail">
|
||||
<p class="admonition-title"><code>400 Bad Request</code></p>
|
||||
<p>Bad or expired token.</p>
|
||||
<div class="codehilite"><pre><span></span><span class="p">{</span>
|
||||
<span class="nt">"detail"</span><span class="p">:</span> <span class="s2">"RESET_PASSWORD_BAD_TOKEN"</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
|
||||
</div>
|
||||
<h2 id="authenticated">Authenticated<a class="headerlink" href="#authenticated" title="Permanent link">¶</a></h2>
|
||||
<h3 id="get-me"><code>GET /me</code><a class="headerlink" href="#get-me" title="Permanent link">¶</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user