Automated deployment: Thu Oct 31 09:13:15 UTC 2019 658161518a

This commit is contained in:
frankie567
2019-10-31 09:13:15 +00:00
parent 1e31abfb40
commit 9887694088
3 changed files with 16 additions and 1 deletions

View File

File diff suppressed because one or more lines are too long

View File

Binary file not shown.

View File

@@ -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">&quot;detail&quot;</span><span class="p">:</span> <span class="s2">&quot;REGISTER_USER_ALREADY_EXISTS&quot;</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">&para;</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">&quot;detail&quot;</span><span class="p">:</span> <span class="s2">&quot;LOGIN_BAD_CREDENTIALS&quot;</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">&para;</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">&quot;detail&quot;</span><span class="p">:</span> <span class="s2">&quot;RESET_PASSWORD_BAD_TOKEN&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
<h2 id="authenticated">Authenticated<a class="headerlink" href="#authenticated" title="Permanent link">&para;</a></h2>
<h3 id="get-me"><code>GET /me</code><a class="headerlink" href="#get-me" title="Permanent link">&para;</a></h3>