Deploying to gh-pages from @ a5558e4b6f 🚀

This commit is contained in:
realaravinth
2021-08-08 13:04:16 +00:00
parent a684317c06
commit 2777a267c8
9 changed files with 28 additions and 28 deletions

View File

@@ -208,21 +208,21 @@
<span id="206">206</span>
</pre><pre class="rust">
<span class="comment">/*
* Copyright (C) 2021 Aravinth Manivannan &lt;realaravinth@batsense.net&gt;
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.
*/</span>
* Copyright (C) 2021 Aravinth Manivannan &lt;realaravinth@batsense.net&gt;
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.
*/</span>
<span class="kw">use</span> <span class="ident">actix_identity::Identity</span>;
<span class="kw">use</span> <span class="ident">actix_web</span>::{<span class="ident">web</span>, <span class="ident">HttpResponse</span>, <span class="ident">Responder</span>};
<span class="kw">use</span> <span class="ident">argon2_creds::Config</span>;
@@ -375,7 +375,7 @@
<span class="ident">bad_post_req_test</span>(
<span class="ident">NAME</span>,
<span class="kw-2">&amp;</span><span class="ident">new_password</span>,
<span class="ident">new_password</span>,
<span class="ident">ROUTES</span>.<span class="ident">account</span>.<span class="ident">update_password</span>,
<span class="kw-2">&amp;</span><span class="ident">update_password</span>,
<span class="ident">ServiceError::PasswordsDontMatch</span>,
@@ -390,7 +390,7 @@
<span class="ident">bad_post_req_test</span>(
<span class="ident">NAME</span>,
<span class="kw-2">&amp;</span><span class="ident">new_password</span>,
<span class="ident">new_password</span>,
<span class="ident">ROUTES</span>.<span class="ident">account</span>.<span class="ident">update_password</span>,
<span class="kw-2">&amp;</span><span class="ident">update_password</span>,
<span class="ident">ServiceError::WrongPassword</span>,