diff --git a/mcaptcha/constant.GIT_COMMIT_HASH.html b/mcaptcha/constant.GIT_COMMIT_HASH.html index 90d5ec82..e598adbf 100644 --- a/mcaptcha/constant.GIT_COMMIT_HASH.html +++ b/mcaptcha/constant.GIT_COMMIT_HASH.html @@ -1,3 +1,3 @@ GIT_COMMIT_HASH in mcaptcha - Rust -

Constant mcaptcha::GIT_COMMIT_HASH[][src]

pub const GIT_COMMIT_HASH: &str = "147f563ec8c71f1d2dd4e4ac03e7c8ce2994266f";
\ No newline at end of file +

Constant mcaptcha::GIT_COMMIT_HASH[][src]

pub const GIT_COMMIT_HASH: &str = "02b62fb1d042178ae9201d4767a3b92dcf830495";
\ No newline at end of file diff --git a/mcaptcha/demo/constant.DEMO_PASSWORD.html b/mcaptcha/demo/constant.DEMO_PASSWORD.html index efe6022e..cd2ea8ec 100644 --- a/mcaptcha/demo/constant.DEMO_PASSWORD.html +++ b/mcaptcha/demo/constant.DEMO_PASSWORD.html @@ -1,4 +1,4 @@ DEMO_PASSWORD in mcaptcha::demo - Rust -

Constant mcaptcha::demo::DEMO_PASSWORD[][src]

pub const DEMO_PASSWORD: &str = "password";
Expand description

Demo password

+

Constant mcaptcha::demo::DEMO_PASSWORD[][src]

pub const DEMO_PASSWORD: &str = "password";
Expand description

Demo password

\ No newline at end of file diff --git a/mcaptcha/demo/constant.DEMO_USER.html b/mcaptcha/demo/constant.DEMO_USER.html index 2a418235..e1edc3b8 100644 --- a/mcaptcha/demo/constant.DEMO_USER.html +++ b/mcaptcha/demo/constant.DEMO_USER.html @@ -1,4 +1,4 @@ DEMO_USER in mcaptcha::demo - Rust -

Constant mcaptcha::demo::DEMO_USER[][src]

pub const DEMO_USER: &str = "aaronsw";
Expand description

Demo username

+

Constant mcaptcha::demo::DEMO_USER[][src]

pub const DEMO_USER: &str = "aaronsw";
Expand description

Demo username

\ No newline at end of file diff --git a/mcaptcha/demo/fn.delete_demo_user.html b/mcaptcha/demo/fn.delete_demo_user.html index ecbf3909..4b74516a 100644 --- a/mcaptcha/demo/fn.delete_demo_user.html +++ b/mcaptcha/demo/fn.delete_demo_user.html @@ -1,3 +1,3 @@ delete_demo_user in mcaptcha::demo - Rust -

Function mcaptcha::demo::delete_demo_user[][src]

async fn delete_demo_user(data: &AppData) -> Result<(), ServiceError>
\ No newline at end of file +

Function mcaptcha::demo::delete_demo_user[][src]

async fn delete_demo_user(data: &AppData) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/demo/fn.register_demo_user.html b/mcaptcha/demo/fn.register_demo_user.html index 42d53f72..7bd19ac2 100644 --- a/mcaptcha/demo/fn.register_demo_user.html +++ b/mcaptcha/demo/fn.register_demo_user.html @@ -1,4 +1,4 @@ register_demo_user in mcaptcha::demo - Rust -

Function mcaptcha::demo::register_demo_user[][src]

async fn register_demo_user(data: &AppData) -> Result<(), ServiceError>
Expand description

register demo user runner

+

Function mcaptcha::demo::register_demo_user[][src]

async fn register_demo_user(data: &AppData) -> Result<(), ServiceError>
Expand description

register demo user runner

\ No newline at end of file diff --git a/mcaptcha/demo/fn.run.html b/mcaptcha/demo/fn.run.html index 346ccf17..d5bed767 100644 --- a/mcaptcha/demo/fn.run.html +++ b/mcaptcha/demo/fn.run.html @@ -1,3 +1,3 @@ run in mcaptcha::demo - Rust -

Function mcaptcha::demo::run[][src]

pub async fn run(data: AppData, duration: Duration) -> Result<(), ServiceError>
\ No newline at end of file +

Function mcaptcha::demo::run[][src]

pub async fn run(data: AppData, duration: Duration) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/demo/index.html b/mcaptcha/demo/index.html index e3391cbf..a7a3f1fd 100644 --- a/mcaptcha/demo/index.html +++ b/mcaptcha/demo/index.html @@ -1,6 +1,6 @@ mcaptcha::demo - Rust -

Module mcaptcha::demo[][src]

Constants

+

Module mcaptcha::demo[][src]

Constants

DEMO_PASSWORD

Demo password

DEMO_USER

Demo username

Functions

diff --git a/src/mcaptcha/demo.rs.html b/src/mcaptcha/demo.rs.html index 16860e1f..ee4388be 100644 --- a/src/mcaptcha/demo.rs.html +++ b/src/mcaptcha/demo.rs.html @@ -156,7 +156,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - use std::time::Duration; use actix::clock::sleep; @@ -197,6 +196,7 @@ pub async fn run(data: AppData, duration: Duration) -> ServiceResult<()> { register_demo_user(&data).await?; + let fut = async move { loop { sleep(duration).await;