diff --git a/Cargo.toml b/Cargo.toml index 88d6e02..f5b9b51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Awiteb "] description = "A captcha middleware for Salvo framework." license = "MIT" -repository = "https://github.com/TheAwiteb/salvo-captcha" +repository = "https://git.4rs.nl/awiteb/salvo-captcha" documentation = "https://docs.rs/salvo-captcha" readme = "README.md" keywords = ["salvo", "captcha", "middleware"] diff --git a/examples/simple_login.rs b/examples/simple_login.rs index 9a0fe39..dff9ee0 100644 --- a/examples/simple_login.rs +++ b/examples/simple_login.rs @@ -152,16 +152,13 @@ fn index_page(captcha_image: String, captcha_token: String) -> String { Or you can skip the captcha
- - -

- Source Code + Source Code "# @@ -182,7 +179,7 @@ fn captcha_result_page(captcha_result: String) -> String {

Salvo Captcha Example

-

Sign In

+

Result page

{captcha_result}
Go Back diff --git a/src/captcha_gen.rs b/src/captcha_gen.rs index e19a361..dbb48da 100644 --- a/src/captcha_gen.rs +++ b/src/captcha_gen.rs @@ -17,7 +17,7 @@ pub trait CaptchaGenerator: CaptchaStorage { /// /// The returned captcha image is 220x110 pixels. /// - /// For more information about the captcha name and difficulty, see the [`README.md`](https://github.com/TheAwiteb/salvo-captcha/#captcha-name-and-difficulty). + /// For more information about the captcha name and difficulty, see the [`README.md`](https://git.4rs.nl/awiteb/salvo-captcha/#captcha-name-and-difficulty). fn new_captcha( &self, name: CaptchaName,